问题描述
|
我有一个持续集成服务器(Windows 2003),在部署之前,我在其中构建源代码。使用dotnet框架v4.0.30319中提供的msbuild构建使用dotnet framework 4.0开发的我的源代码之一时,它显示以下错误:
C:\\WINDOWS\\Microsoft.NET\\Framework\\v4.0.30319\\Microsoft.Common.targets (2249,9):
errorMSB3086: Task could not find \"sgen.exe\" using the SdkToolsPath \"\" 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
当我搜索此错误时,我得到的建议很少:
1.Install visual studio 2010 (can\'t do this as it is not a development environment)
2.create the simillar sdk folder structure as in local machine in the server and make necessary registry confihurations (a bit complex,is it?)
3. Install sdk component seperatly (Is this a suitable option?).
如果我升级框架,是否可以获取SDK?如果是这样,我如何升级框架以获取最新的msbuild版本?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)