-->

命令“”。\\ \\斌mt.exe \” -nologo -manifest ...在CCNET,错

2019-10-20 14:09发布

我试图建立我在CCNET VS 2008项目,并提示以下错误:

 <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>

该项目建立愉快我的本地服务器上。

也有在M.Net \框架\ v3.5版本没有Bin文件夹....

任何帮助将是真棒

我也没有对项目一个MSBuild,得到了同样的错误。

Answer 1:

如果您收到上述消息

因为你正在试图建立您拥有的Visual Studio 2008或.NET Framework 3.5 SDK不能安装在服务器上的解决方案是最有可能

并从复制你的开发计算机上的文件服务器,以使事情工作

那么这里是解决方案

复制

C:\ Program Files文件\微软的SDK

文件夹(感谢@leppie为)

您CCNET /构建服务器。

接下来,您需要更新注册表告诉.NET框架,SDK的是

参见下图了解详细信息

你必须创建Windows键,然后添加字符串替代文本http://www.freeimagehosting.net/uploads/791375b079.png



Answer 2:

错误3“系统找不到指定的路径。”

建议试图Sysinternals的procmon中,看看它正在寻找(并没有找到)



Answer 3:

您需要将路径添加到SDK\bin目录。

例如:

c:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\


文章来源: The command “”.\\Bin\\mt.exe\" -nologo -manifest … exited with error code 3 in CCNET