Microsoft Developer Network > 포럼 홈 > Visual Studio Setup and Installation > Visual Studio 2008 (final) installation missing tools
질문하기질문하기
 

제안된 답변Visual Studio 2008 (final) installation missing tools

  • 2007년 11월 27일 화요일 오후 2:17Dan Händevik 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I installed Visual Studio 2008 (final) and started to create a WinForms (2.0) application that calls a webservice and is deployed with clickonce. When I try to compile it (after adding the webreference) I get the following build error

    C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1993,9):
    error MSB3091:
    Task failed because "sgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "sgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A. You may be able to solve the problem by doing one of the following:
    1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.
    2) Install Visual Studio 2008.
    3) Manually set the above registry key to the correct location.
    4) Pass the correct location into the "ToolPath" parameter of the task.


    I thought that the SDK was to be installed with VisualStudio 2008, but when looking into the SDKs folder (C:\Program Files\Microsoft Visual Studio 9.0\SDK) it contains almost nothing, only a few files in the v3.5 folder.

    When I searched for the SDK for framework 3.5 it seems that is included in the windows server 2008 platform sdk and that is only avaliable for beta2 so far...

    Regarding the registry settings, I have the SDK for v2.0 installed and since I build vs the 2.0 framework, shouldn't it look in the KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v2.0 key?

    Anyway, I came around the issue by setting the
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A InstallationFolder key to the same path as the 2.0 Sdk path and compilation was successful...

    Is the VisualStudio 2008 release not final since it seems to miss the SDK or have I been sloppy installing the product?

    http://dhvik.blogspot.com/2007/11/task-failed-because-was-not-found.html

모든 응답

  • 2007년 12월 7일 금요일 오전 10:57Tor Thorbergsen 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

     

    I'm missing AL.exe

     

    C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2083,9): error MSB3091: Task failed because "AL.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AL.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5. 2) Install Visual Studio 2008. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task.

     

    Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\ I only got .NETFramework and .NETFramework\v2.0

     

    In the key "KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v2.0" I got the Value "InstallationFolder" with the value data "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\", but in that location there is no AL.exe...

     

     

    Best regards,

    Tor Thorbergsen

  • 2008년 1월 4일 금요일 오후 11:29ozhug 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

     

    Same here my install failed after installing VS2008 during installing the SDK's.

    So AL.exe could not be found

     

    I tried to repair but the SDK's are not part of the repair process.

    I found them on the disk but when you try to install from here it say's they can only be used as part of the VS2008 install (which is a complete pain)

     

    I have rebuilt this machine and will try again.

     

    Regards

     

    Mark

  • 2008년 2월 11일 월요일 오후 12:08Laughing John 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Are you looking in "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin" ???
  • 2008년 5월 16일 금요일 오전 12:59lex3001 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    I think I hav a similar problem... I can't publish from VS.NET 2008 because signtool.exe is missing.

     

    I look in C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin and it is EMPTY!

     

    I never had a beta VS.NET 2008 installed, just the RTM verison... any ideas on how to fix this?

  • 2008년 5월 22일 목요일 오후 12:12blomkvist 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

    I installed the Windows SDK for Windows Server 2008 and .NET Framework version 3.5 on my build machine and it fixed the problem. (My build missed the sgen.exe).

     

  • 2008년 8월 4일 월요일 오전 8:04Vinix 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     제안된 답변
    blomkvist said:

    I installed the Windows SDK for Windows Server 2008 and .NET Framework version 3.5 on my build machine and it fixed the problem. (My build missed the sgen.exe).

    Yeah, but install 5xx~1xxxMB of unused (for me) files is not a acceptable solution for me. :P
    I still prefer modifying the registry.

    For those who don't know how to modify the registry:

    1. copy & paste following to NotePad:
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A]
    "InstallationFolder"="C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\"


    Then rename the file extention to abc.reg.

    2. Double-click the file you just created then choose "Yes".

    3. You're done. :)

    • 답변으로 제안됨cgishack 2009년 1월 7일 수요일 오후 3:08
    •