Ben*_*Ben 7 .net msbuild teamcity windows-server-2008 microsoft-web-deploy
我正在尝试.NET 4
使用MSBuild
Web Deploy 构建和部署项目,并且TeamCity
我在本地开发机器上运行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
Run Code Online (Sandbox Code Playgroud)
我正在运行Windows Server 2008,并安装了.NET 4,包括(我相信)MSBuild 4.我也安装了Windows SDK 7.1,因为其他线程建议这可能是问题,但仍然没有运气.任何想法或建议将不胜感激.
谢谢
我在TeamCity遇到了同样的问题.以下是我要解决的步骤:
如果您接受安装的默认路径,则可在此处找到sgen.exe:
C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\sgen.exe
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
8559 次 |
最近记录: |