Error Msb3073 The Command Exited With Code 1
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more error msb3073 exited with code 3 about Stack Overflow the company Business Learn more about hiring developers or posting ads
Error Msb3073 Exited With Code 4
with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow error msb3073 exited with code 9009 is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Visual Studio Post Build copy command error MSB3073 exit code 1 up error msb3073 exited with code 255 vote 3 down vote favorite So I have C++ Player project which has 2 other project dependencies, both of which have post build events to copy the dll to another folder. The project was building, then it decided not to work randomly, and since then I have not found a solution. Even with a clean checkout from SVN, it still does not work, it works for all the other
Error Msb3073 The Command Exited With Code 3
devs, apart from me. I have checked the paths in the error messages, they do exist and as does the target dll. Post-Build Event in each dependant project: copy $(TargetPath) $(ProjectDir)..\..\$(Configuration)\plugins\$(ProjectName).dll The resulting error: error MSB3073: The command "copy C:\CMDev\CM2\Client\Apps\SSEP\Player\ACRP\CIAP\Debug\CIAP.dll C:\CMDev\CM2\Client\Apps\SSEP\Player\ACRP\CIAP....\Debug\plugins\CIAP.dll:VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 131 5 Current setup: Running Windows 7 Ultimate Service Pack 1 Visual Studio Pro v12.0.30723.00 Update 3, run under Administrator. What have I tried: Updated Visual Studio 2013 Pro to Update 3 (from Update 1) Wrapping quotes around each path with the /Y parameter e.g. copy /Y "source" "destination" Tried xcopy. Tried clean and re-build of eaach dependency individually. Uninstalled Visual C++ 2010 and 2012, x86 and x64 Redistributable, and re-installed all 4 versions. What else can I try? c++ visual-studio-2013 share|improve this question asked Aug 29 '14 at 10:52 user1883004 1821516 2 Sounds like you've tried many things to investigate your problem. But, have you tried enabling project logging? It's worked for me in VS2012 so, it may point out the problem. –rrirower Aug 29 '14 at 12:02 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote The problem was how VS was appending the :VCEnd suffix. Somehow the microsoft.CppCommon.targets fi
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about error msb3073 exited with code 2 Stack Overflow the company Business Learn more about hiring developers or posting ads with msb3073 vcend exited with code 1 us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is
Error Msb3073: The Command "copy
a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Post Build exited with code 1 up vote 77 down vote favorite 9 http://stackoverflow.com/questions/25566834/visual-studio-post-build-copy-command-error-msb3073-exit-code-1 I have a project with a post build event: copy $(ProjectDir)DbVerse\Lunaverse.DbVerse.*.exe $(TargetDir) It works fine every time on my machine. I have a new developer who always gets the "exited with code 1" error. I had her run the same command in a DOS prompt, and it worked fine. What could be causing this? Is there any way to get to the real error? We are both using Visual Studio http://stackoverflow.com/questions/310126/post-build-exited-with-code-1 2008. visual-studio-2008 post-build share|improve this question edited Oct 16 '13 at 14:31 jdhurst 1,60211117 asked Nov 21 '08 at 20:41 Tim Scott 9,47423556 add a comment| 15 Answers 15 active oldest votes up vote 89 down vote accepted She had a space in one of the folder names in her path, and no quotes around it. share|improve this answer answered Nov 21 '08 at 21:52 Tim Scott 9,47423556 8 putting quotes on path names is a good practice. not working in paths that contains space is event better :-) –Asher Nov 21 '08 at 21:54 The spaces thing got me too. –CAD bloke Mar 15 '11 at 6:57 3 copy /y "$(TargetDir)Dotfuscated\" "$(TargetDir)" this command notworking for me and if i am write exit 0 at end then work fine. can u tell me why? –Rikin Patel Oct 22 '12 at 3:12 add a comment| up vote 45 down vote The one with the "Pings" helped me... but may be explained a little better... For me the solution was to change: copy $(TargetDir)$(TargetName).* $(SolutionDir)bin to this: copy "$(TargetDir)$(TargetName).*" "$(SolutionDir)bin" Hope it works for you. :-) share|improve this answer answered Feb 18 '10 at 19:51 JanBorup 1,8431411 1 +1 Thanks for posting code! –Dr
build it , This error occurs: “Error 15 error MSB3073 : The command copy exited with code 1”. This project is error msb3073 built with vs2010, it works fine at lab. But at my own computer it failed compiling. The problem is with the post-build event, the solution has eight projects, each exited with code one copy it’s building result to a working directory “bin”, this command failed to find the building result and cause the compiling error.I googled it, I find the answer here. The result is that if the working path has spaces somewhere, you must quotes around the params of copy command, such as changing1copy $sourcedir $targetdir to1copy "$sourcedir" "$targetdir" then problem solved. Prev Archive Next Comments 2013-09-24 Programming4 compilation2 debug3 visual studio2 © 2016 Monk with help from Hexo and Twitter Bootstrap. Theme by Freemind. ▲