Microsoft Developer Network > Página principal de foros > Visual Studio Setup and Installation > Visual Studio 2008 (final) installation missing tools
Formular una preguntaFormular una pregunta
 

Respuesta propuestaVisual Studio 2008 (final) installation missing tools

  • martes, 27 de noviembre de 2007 14:17Dan Händevik Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    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

Todas las respuestas

  • viernes, 07 de diciembre de 2007 10:57Tor Thorbergsen Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

     

    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

  • viernes, 04 de enero de 2008 23:29ozhug Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

     

    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

  • lunes, 11 de febrero de 2008 12:08Laughing John Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Are you looking in "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin" ???
  • viernes, 16 de mayo de 2008 0:59lex3001 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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?

  • jueves, 22 de mayo de 2008 12:12blomkvist Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    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).

     

  • lunes, 04 de agosto de 2008 8:04Vinix Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respuesta propuesta
    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. :)

    • Propuesto como respuestacgishack miércoles, 07 de enero de 2009 15:08
    •