I am completely new to tfs, but after seeing the promises that 2010 was so much easier to use, I decided to give it a try. I am however now having problems getting the build to work. On my development maching my app builds correctly. However on the build machine I get the following error.
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets (1835): Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.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\v7.0A. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task.
I have cheched the folders mentioned in the message and resgen.exe is installed in that folder. I have also installed VS2010 on the build computer, even though by my understanding it should not be needed, but still this message.
Has anyone else experienced this message, and what was the fix?