命令""。\ BIN \ mt.exe" -nologo -manifest ...在CCNET退出,错误code 3 [英] The command "".\Bin\mt.exe" -nologo -manifest ... exited with error code 3 in CCNET
问题描述
我试图建立我在CCNET VS 2008项目,并提示以下错误:
I am trying to build my VS 2008 project in CCNEt and getting the below error
<message level="high"><![CDATA[".\Bin\mt.exe" -nologo -manifest "C:\MyProject\MyFile.exe.manifest" -outputresource:"C:\MyProject\bin\Release\MyFile.exe;#1"]]></message>
<message level="high"><![CDATA[The system cannot find the path specified.]]></message>
<error code="MSB3073" file="C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets" line="3397" column="13"><![CDATA[The command "".\Bin\mt.exe" -nologo -manifest "C:\MyProject\MyFile.exe.manifest" -outputresource:"C:\MyProject\bin\Release\MyFile.exe;#1" exited with code 3.]]></error>
该项目建立愉快我的本地服务器上。
This project builds happily on my local server.
还有就是在M.Net \框架\器v3.5没有Bin文件夹......
ALso there is no Bin folder in M.Net\Framework\v3.5....
任何帮助将是真棒
我也没有对项目的MSBuild的,并得到了同样的错误。
I also did an msbuild on the project and got the same error.
推荐答案
如果您收到了上述消息。
If you are getting the above message
这是最有可能因为你正在试图建立自己具有的Visual Studio 2008或.NET Framework没有安装3.5 SDK的服务器上的解决方案
it's most likely coz you are trying to build your solution on a server which has Visual Studio 2008 or the .net Framework 3.5 SDK not installed
和从您的开发计算机上复制文件到服务器才可以正常工作
and are copying files from your dev computer to server to make things work
那么这里是解决方案
复制
C:\ Program Files文件\微软的SDK
C:\program files\Microsoft SDKs
文件夹(感谢@leppie为)
folder (thanks @leppie for that)
你的CCNET /构建服务器。
to your CCNet / build server.
接下来,您需要更新注册表 告诉.NET框架,其中的SDK是
Next you need to update the registry telling the .net framework where the SDK is
请参阅下面的截图的详细信息
See below screenshot for details
您必须创建Windows键,然后添加字符串
you will have to create the Windows key and then add the strings
这篇关于命令&QUOT;&QUOT;。\ BIN \ mt.exe&QUOT; -nologo -manifest ...在CCNET退出,错误code 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!