错误MSB3073 :: VCEnd“退出代码1。 [英] error MSB3073: :VCEnd" exited with code 1.

查看:556
本文介绍了错误MSB3073 :: VCEnd“退出代码1。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我尝试编译旧代码时出现此错误。

上次我不记得我使用的是哪个版本。



我正在使用VS C ++进行dll创作。



以下是我得到的错误。

hi
i got this error when i was trying to compile my old code.
Last time i don't remember which version i was using.

I am using VS C++ for dll creatation.

following are errors i got.


C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy "C:\Users\Plug-Ins\reference\mach_vmotion\mach_vmotion\Debug\mach_vmotion.dll" C:\Apps\Mach3\PlugIns\
<pre>1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.









所以如何克服这些错误。





so how to overcome this errors.

推荐答案

你有一个复制命令的acustom构建步骤,现在不起作用。它位于解决方案/项目设置中的某个位置。如果你仔细,你可以用textediotr编辑.sln文件。 (但是之前做一个备份)
You have acustom build steps with a "copy" command which doesnt work for now. It is somewhere in the settings of the solution/project. If you are carefully you can edit th .sln file with a textediotr. (But make a backup before)


我发现我的问题与Solution1非常相似,但它在项目(vcxproj)文件而不是解决方案文件中。
I found my problem to be much like Solution1 but it was in the project (vcxproj) file and not the solution file.


我使用Visual Studio 2017得到了同样的错误。编译器无法将dll复制到文件夹。后来发现该目录是只读的。取消选中只读选项并重新构建项目对我有帮助。

希望这对任何人都有帮助。
I was getting the same error using Visual Studio 2017. The compiler was unable to copy a dll to a folder. Later Found that the directory is Read-only. Un-checking the Read-only option and re-building the project helped me.
Hope this helps anyone.


这篇关于错误MSB3073 :: VCEnd“退出代码1。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆