Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

VS2012 can't find AL.exe and sgen.exe

$
0
0

Hi:

I've just installed VS2012 for our developers on their 64-bit machines (they were previously using VS2008) and now they're getting these two error messages when they go to compile software:

Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed         CustomMessageBoxLib

Task could not find "sgen.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed         CompositeUI (Library\CompositeUI\CompositeUI)

The version of the Windows SDK they are using is 6.0A.

I did some Internet searching but nothing I found was really conclusive.  Some people said to:

1) Install the Windows SDK for Windows 8. 

But that seems to be for .NET 4.5 or higher and we do all of our development for .NET 3.5.

2) Another place advised me to go to the Windows SDK 7.1 Command Prompt. While we only have 6.0A, I couldn't find a command prompt for it listed.

3) I also found a site that told me to use the Windows SDK Configuration tool.

I have verified that both al.exe and sgen.exe are installed on the machines.  Actually I just checked again and it looks like both the Microsoft SDK 6.0A and 7.0A are installed on those machines, each with their own versions of al.exe and sgen.exe.  Could that have something to do with it?

My question is basically this: How do I manually point to the right versions of al.exe and sgen.exe?

I should point out that I'm not a programmer by trade - I'm just a low-level desktop support person, so the occasional PowerShell script is about as close as I get to programming.  But I'm really feeling the pressure to fix this for our developers, so I would be greatly appreciative for any advice I can get.

Many thanks in advance,

Bryan Francoeur.


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>