Visual Studio 2008 (final) installation missing toolsI 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<br><span style="font-family:Courier"><br>C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1993,9):<br>error MSB3091:<br>Task failed because &quot;sgen.exe&quot; was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for &quot;sgen.exe&quot; in the &quot;bin&quot; 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:<br>1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.<br>2) Install Visual Studio 2008.<br>3) Manually set the above registry key to the correct location.<br>4) Pass the correct location into the &quot;ToolPath&quot; parameter of the task.</span><br><br>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.<br><br>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...<br><br>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 <span style="font-family:Courier">KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v2.0<span style="font-family:Arial"> key?<br><br>Anyway, I came around the issue by setting the </span></span><span style="font-family:Courier">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A<span style="font-family:Arial"> InstallationFolder key to the same path as the 2.0 Sdk path and compilation was successful...<br><br>Is the VisualStudio 2008 release not final since it seems to miss the SDK or have I been sloppy installing the product?<br><br></span></span>http://dhvik.blogspot.com/2007/11/task-failed-because-was-not-found.html<br>© 2009 Microsoft Corporation. All rights reserved.Wed, 07 Jan 2009 15:08:38 Z71f6b1fc-2e22-4ced-9825-469beb4381ebhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#71f6b1fc-2e22-4ced-9825-469beb4381ebhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#71f6b1fc-2e22-4ced-9825-469beb4381ebDan Händevikhttp://social.msdn.microsoft.com/Profile/en-US/?user=Dan%20H%u00e4ndevikVisual Studio 2008 (final) installation missing toolsI 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<br><span style="font-family:Courier"><br>C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1993,9):<br>error MSB3091:<br>Task failed because &quot;sgen.exe&quot; was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for &quot;sgen.exe&quot; in the &quot;bin&quot; 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:<br>1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.<br>2) Install Visual Studio 2008.<br>3) Manually set the above registry key to the correct location.<br>4) Pass the correct location into the &quot;ToolPath&quot; parameter of the task.</span><br><br>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.<br><br>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...<br><br>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 <span style="font-family:Courier">KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v2.0<span style="font-family:Arial"> key?<br><br>Anyway, I came around the issue by setting the </span></span><span style="font-family:Courier">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A<span style="font-family:Arial"> InstallationFolder key to the same path as the 2.0 Sdk path and compilation was successful...<br><br>Is the VisualStudio 2008 release not final since it seems to miss the SDK or have I been sloppy installing the product?<br><br></span></span>http://dhvik.blogspot.com/2007/11/task-failed-because-was-not-found.html<br>Tue, 27 Nov 2007 14:17:15 Z2007-11-27T14:17:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#14d0986b-bd13-460b-a85c-959ac148410ahttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#14d0986b-bd13-460b-a85c-959ac148410aTor Thorbergsenhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tor%20ThorbergsenVisual Studio 2008 (final) installation missing tools<p align=left><font face=Arial size=2></font> </p> <p>I'm missing AL.exe</p> <p align=left> </p><font size=1> <p>C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2083,9): error MSB3091: Task failed because &quot;AL.exe&quot; was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for &quot;AL.exe&quot; in the &quot;bin&quot; 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 &quot;ToolPath&quot; parameter of the task.</p> <p align=left> </p> <p align=left><font size=2>Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\ I only got .NETFramework and .NETFramework\v2.0</font></p> <p align=left><font size=2></font> </p> <p align=left><font size=2>In the key &quot;<span style="font-family:Courier">KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v2.0</span>&quot; I got the Value &quot;InstallationFolder&quot; with the value data &quot;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\&quot;, but in that location there is no AL.exe...</font></p> <p align=left><font size=2></font> </p> <p align=left><font size=2></font> </p> <p align=left><font size=2>Best regards,</font></p> <p align=left><font size=2>Tor Thorbergsen</font></p></font>Fri, 07 Dec 2007 10:57:54 Z2007-12-07T10:57:54Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#d855f7ea-2038-450e-95b1-a00599de29fbhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#d855f7ea-2038-450e-95b1-a00599de29fbozhughttp://social.msdn.microsoft.com/Profile/en-US/?user=ozhugVisual Studio 2008 (final) installation missing tools<p align=left><font face=Arial size=2></font> </p> <p>Same here my install failed after installing VS2008 during installing the SDK's.</p> <p align=left>So AL.exe could not be found</p> <p align=left> </p> <p align=left>I tried to repair but the SDK's are not part of the repair process.</p> <p align=left>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)</p> <p align=left> </p> <p align=left>I have rebuilt this machine and will try again.</p> <p align=left> </p> <p align=left>Regards</p> <p align=left> </p> <p align=left>Mark</p>Fri, 04 Jan 2008 23:29:08 Z2008-01-04T23:29:08Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#3c3db6d4-eb66-4d85-9fee-e3dc0c835fc5http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#3c3db6d4-eb66-4d85-9fee-e3dc0c835fc5Laughing Johnhttp://social.msdn.microsoft.com/Profile/en-US/?user=Laughing%20JohnVisual Studio 2008 (final) installation missing toolsAre you looking in &quot;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin&quot; ???<br>Mon, 11 Feb 2008 12:08:22 Z2008-02-11T12:08:22Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#6f8911e8-4440-4d03-a657-36e03c2e342chttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#6f8911e8-4440-4d03-a657-36e03c2e342clex3001http://social.msdn.microsoft.com/Profile/en-US/?user=lex3001Visual Studio 2008 (final) installation missing tools<p align=left>I think I hav a similar problem... I can't publish from VS.NET 2008 because signtool.exe is missing.</p> <p align=left> </p> <p align=left>I look in C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin and it is EMPTY!</p> <p align=left> </p> <p align=left>I never had a beta VS.NET 2008 installed, just the RTM verison... any ideas on how to fix this?</p>Fri, 16 May 2008 00:59:03 Z2008-05-16T00:59:03Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#c849c01e-6f42-48b0-85dc-f3284b621fefhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#c849c01e-6f42-48b0-85dc-f3284b621fefblomkvisthttp://social.msdn.microsoft.com/Profile/en-US/?user=blomkvistVisual Studio 2008 (final) installation missing tools<p align=left>I installed the <a title="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3de6e1c3df-a74f-4207-8586-711ebe331cdc%26DisplayLang%3den" href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=/downloads/details.aspx?FamilyID%3de6e1c3df-a74f-4207-8586-711ebe331cdc%26DisplayLang%3den">Windows SDK for Windows Server 2008 and .NET Framework version 3.5</a> on my build machine and it fixed the problem. (My build missed the sgen.exe).</p> <p align=left><font face=Arial size=2></font> </p>Thu, 22 May 2008 12:12:17 Z2008-05-22T12:12:17Zhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#3e1f9bc7-6124-401b-b593-791cba840befhttp://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/71f6b1fc-2e22-4ced-9825-469beb4381eb#3e1f9bc7-6124-401b-b593-791cba840befVinixhttp://social.msdn.microsoft.com/Profile/en-US/?user=VinixVisual Studio 2008 (final) installation missing tools<div class=quote><font class=quoteHeader>blomkvist said:</font> <p align=left>I installed the <a title="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3de6e1c3df-a74f-4207-8586-711ebe331cdc%26DisplayLang%3den" href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=/downloads/details.aspx?FamilyID%3de6e1c3df-a74f-4207-8586-711ebe331cdc%26DisplayLang%3den">Windows SDK for Windows Server 2008 and .NET Framework version 3.5</a> on my build machine and it fixed the problem. (My build missed the sgen.exe).</p></div> <p>Yeah, but install 5xx~1xxxMB of unused (for me) files is not a acceptable solution for me. :P<br>I still prefer modifying the registry.<br><br>For those who don't know how to modify the registry:<br><br>1. copy &amp; paste following to NotePad:<br><font color="#3333ff">Windows Registry Editor Version 5.00</font></p> <p><font color="#3333ff">[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A]<br>&quot;InstallationFolder&quot;=&quot;C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\&quot;</font><br><br>Then rename the file extention to abc.reg.<br><br>2. Double-click the file you just created then choose &quot;Yes&quot;.<br><br>3. You're done. :)</p>Mon, 04 Aug 2008 08:04:59 Z2008-08-04T08:04:59Z