I had the same problem, here is my simple answer to this question.
After installing Microsoft Windows SDK 7.1 on the TeamCity server.
In Regedit Change This Key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0\SDK40ToolsPath
to
$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1\WinSDK-NetFx40Tools-x86@InstallationFolder)
Look at the picture, I got my first TeamCity Building project with this! (was v7.0a) I have a photo to show how simple it was.
> Oops! Your picture couldn't be submitted because: > > We're sorry, but as a spam prevention mechanism, new users aren't > allowed to post images. Earn more than 10 reputation to post images.
poolfoot Mar 05 '12 at 23:32 2012-03-05 23:32
source share