我正在尝试使用MSBuild Web Deploy和TeamCity构建和部署.NET 4项目,我在本地开发机器上运行TeamCity实例时工作正常(最终),但是当我尝试设置一个新的TeamCity实例时使用相同的设置我得到以下错误:
- \Microsoft.Common.targets(2249,9): error MSB3086: Task could not find "sgen.exe"
- using the SdkToolsPath
- "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\" or the
- registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A".
- 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
我正在运行Windows Server 2008,并安装了.NET 4,包括(我相信)MSBuild 4.我还安装了Windows SDK 7.1,因为其他线程建议这可能是问题,但仍然没有运气.任何想法或建议将不胜感激.
谢谢