Microsoft visual C# 2008 compiler could not be created. Please re-install Visual Studio

前端 未结 8 1328
再見小時候
再見小時候 2020-12-15 08:19

Any idea how to fix this error in Visual Studio? This error occurs when trying to create a new C# Console Application. I can create and build a C# Website, but Intellisens

相关标签:
8条回答
  • 2020-12-15 08:47

    I was not able to vote, but restart and resetting the settings did not work for me. But deleting HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0 did work for me. Thank you NimsDotNet, sadly I could not vote for that answer for some reason.

    0 讨论(0)
  • 2020-12-15 08:50

    In the command prompt, I ran:

    C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\devenv.exe /resetsettings
    

    Everything works fine now! This saved me a reinstall.

    0 讨论(0)
  • 2020-12-15 08:53

    I tried "resetsettings" and repairing the installation form add/remove programs, both didn't work.
    Solved the issue by deleting the following registry key.

    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio

    Visual studio will ask you to select the language preference when you open it again. (Make sure that you delete the key from HKCU and not from HKLM)

    0 讨论(0)
  • 2020-12-15 08:55

    I use deven.exe /ResetSkipPkgs and Solve the problem I guess it's like delete the keys like it sais at http://social.msdn.microsoft.com/Forums/en-US/Vsexpressinstall/thread/04be49aa-de6b-4f45-9a27-86e3f214a0fe

    0 讨论(0)
  • 2020-12-15 08:56

    Run this in the command prompt of visual studio 2008 otherwise, go to this path and run devenv.exe /resetsettings

    C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\devenv.exe /resetsettings
    

    and visual studio will be restarted.

    if the problem persists try repairing the file from control panel and this works

    Thank You

    0 讨论(0)
  • 2020-12-15 09:04

    None of the above solutions did the trick for me. Maybe it's because we are working with TFS 2010?

    What solved the problem for me was reinstalling KB974558

    Maybe it was the combination of doing all that registry stuff mentioned above and reapplying the patch - who knows?

    Although this thread is a little bit outdated there may be some other guys out there who have to stay with VS 2008 because they have to keep Compact Framework applications alive

    0 讨论(0)
提交回复
热议问题