You might receive the "The debugger does not support debugging managed and native code at the same time on this platform." error message in Visual studio 2005/2008 if you have a 32bit native/mixed mode dll linked to your x64bit assembly. If you change the project properties so that Platform target is x86 you should be able to debug both assemblies.