After I installed VS11 Dev Preview, VS2010 cannot start debugging the Sharepoint 2010 server (developer install on Windows 7). I get a nice error dialog stating:
Unable to start debugging on the web server. The debugger is not properly installed. Cannot debug the requested type of code. Run setup to install or repair the debugger.
Click Help for more information.
The message in the Output Window (Debug) says:
Auto-attach to process '[9808] w3wp.exe' on machine 'LT01529' failed. The debugger is not properly installed. Cannot debug the requested type of code. Run setup to install or repair the debugger.
Start debugging did however work from VS11. I have now uninstalled VS11, and repaired my VS2010 installation, but the problem persists.
What does work, is to 'Attach to process'. Then debugging works correctly (breakpoints, stepping, etc).
From the native stack (attached to devenv with another instance), it appears there is some invalid COM cast.
Anybody have ideas how to solve this?
Cheers
leppie
Update:
It appears VS11 overwrote files in VS7Debug (Common files/ms shared), that are left over even after uninstall. I assume getting the VS2010 versions should fix the issue.
Update 2:
The above did not work.