Microsoft Developer Network > 포럼 홈 > Visual Studio Debugger > On csproj file open: Microsoft Visual C# 2008 Compiler could not be created. QueryService for '{7D960B16-7AF8-11D0-8E5E-00A0C911005A} failed.
질문하기질문하기
 

답변됨On csproj file open: Microsoft Visual C# 2008 Compiler could not be created. QueryService for '{7D960B16-7AF8-11D0-8E5E-00A0C911005A} failed.

  • 2008년 6월 4일 수요일 오후 6:59Moemars 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I wasn't sure if I should post this under the VS Install Group but after some investigation this seems to be a debugger problem.

    I am running on a Windows XP SP2 box.  I had Visual Studio 2005 installed.

    I recently installed Visual Studio 2008, along with the Microsoft Windows SDK for Windows Server 2008 (6001.18000.367).

    I also have Microsoft Visual C++ Compilers 2008 Standard Edition - enu - x86 (and x64)

    My command line build works properly using MSBuild v3.5.

    But, when I go to open up any .csproj file (which has been converted to vsstudio 2008 proj file) in visual studio 2008 I get the error:

    Project 'x' could not be opened because the Microsoft Visual C# 2008 Compiler could not be created.  QueryService for '{7D960B16-7AF8-11D0-8E5E-00A0C911005A}' failed

    It looks as though this regkey is pointing to the Visual Studio Debugger.

    Should it be pointing to a specific location?  Does visual studio 2008 have a specific location?  I believe it is pointing to an inccorect file.


    When I open a vbproj I file in Visual Studio 2008 I get:

    The Visual Studio Debugger ({C9DD4A57-47FB-11D2-83E7-00C04F9902C1}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'devenv /resetskippkgs' at the command prompt.




    • 편집됨Moemars 2008년 6월 4일 수요일 오후 9:18added more info
    • 편집됨Moemars 2008년 6월 4일 수요일 오후 9:25more info.
    •  

답변

모든 응답

  • 2008년 6월 6일 금요일 오후 2:39Moemars 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    I ended up reinstalling

    VS Studio 2005
    VS Studio 2008

    I also reinstalled the Windows SDK 2008 6.1.

    Then I ran

    devenv /ResetSkipPkgs


    I was able to open up csproj and vbproj files.

    To repair my command line I changed my vsvars32.bat file as described here:

    http://msdn.microsoft.com/en-us/windowsserver/bb986638.aspx (under 5.1.6)

    Kamil
  • 2008년 8월 31일 일요일 오후 7:09Hege L 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I got the same error after installing Visual Studio 2008 SP1. I have a 64-bits machine with Windows Server 2008. I reinstalled Visual Studio 2008 and Team System explorer and ran devenv /ResetSkipPkgs. It might solve the problem just to run devenv /ResetSkipPkgs.
  • 2009년 4월 22일 수요일 오후 3:43Skyblue0708 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     제안된 답변
    In short run the following in command Prompt:

    C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv /ResetSkipPkgs

    Should sort this issue. Happy coding
  • 2009년 5월 28일 목요일 오후 5:12Indika Rangajith 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    In short run the following in command Prompt:

    C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv /ResetSkipPkgs

    Should sort this issue. Happy coding
    For me, i didnt reinstall VS. Just running the above commad fixed the issue. Thanks 
  • 2009년 6월 11일 목요일 오후 1:40Marc Roussel 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    In short run the following in command Prompt:

    C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv /ResetSkipPkgs

    Should sort this issue. Happy coding

    AWESOME.  I was about to reinstall and I found this by chance. 
    worked like a charm.

    But WHY.  What caused this problem and should I care to know anyway ?

    Gear
  • 2009년 7월 4일 토요일 오전 4:46alreva 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     제안된 답변
    Great solution, thanks alot.
    • 답변으로 제안됨Yasir Younus 2009년 11월 20일 금요일 오후 1:13
    •  
  • 2009년 11월 20일 금요일 오후 1:20Yasir Younus 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    nice solution, no need to re-install Visual Studio Just do this 

    go to tools>Visual studio 2008 Command Prompt and type "devenv /ResetSkipPkgs" in command prompt

    it will resolve the problem :)