Visual-studio – Project could not be opened because the Microsoft Visual C# 2010 compiler could not be created. Please re-install Visual Studio

visual studiovisual studio 2010

After installing Debugger Canvas and restarting Visual Studio, I get this error for each project when opening a solution:

Project <Name> could not be opened because the Microsoft Visual C#
2010 compiler could not be created. Please re-install Visual Studio.

I tried all of the answers from this question with no luck: Microsoft visual C# 2008 compiler could not be created. Please re-install Visual Studio

So far I have:

  • Tried the /resetsettings argument
  • Tried the /ResetSkipPkgs argument
  • Tried removing the whole key: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio

Any other ideas other than reinstalling VS and/or SP1?

VS Version: 10.0.40219.1 SP1Rel

Thanks!

Best Answer

  1. Open VS command prompt
  2. Run the following command

    devenv /resetsettings

  3. Open your Project