Error Msb3073
Contents |
here for a quick overview of the site Help Center error msb3073 exited with code 1 Detailed answers to any questions you might have Meta Discuss
Error Msb3073 Exited With Code 4
the workings and policies of this site About Us Learn more about Stack Overflow
Error Msb3073 Exited With Code 9009
the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x
Error Msb3073 Exited With Code 3
Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error MSB3073: How do I fix this? up vote 2 down vote favorite 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The error msb3073 exited with code 255 command "copy "C:\Users\jlee\Desktop\10_IPG2.7_4\InitialPowerGadget\Release\EnergyLib.dll" "C:\Users\jlee\Desktop\10_IPG2.7_4\InitialPowerGadget\Bins32\EnergyLib32.dll" 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: copy "C:\Users\jlee\Desktop\10_IPG2.7_4\InitialPowerGadget\EnergyDriver\objfre_win7_x86\i386\EnergyDriver.sys" "C:\Users\jlee\Desktop\10_IPG2.7_4\InitialPowerGadget\Bins32" 3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1. I was researching online, I think it has to do something with relative pathing; but I'm not sure. Can someone help explain what is wrong and how to fix this? c++ mfc share|improve this question edited Nov 11 '13 at 19:34 afuzzyllama 4,77442854 asked Nov 11 '13 at 19:32 CodeDoctorJL 1241416 1 possible duplicate of How do I fix MSB3073 error in my post-build event? –afuzzyllama Nov 11 '13 at 19:34 If copy fails then either paths must be invalid, file already exists and you are not forcing overwrite, no permissions to write, etc. It's going to be hard to tell from here without guessing. You can try putting that command into cmd.exe and see what happens. –user280284
Foundation Server > Team Foundation Server - Build and error msb3073 exited with code 2 release management Question 0 Sign in to vote Hi I error msb3073 the command exited with code 9009 am trying to run a build using TFS and I geting an error. It error msb3073 the command setlocal looks like it fail on some post events (md directory + copy) of a VS project. Is it a known bug in TFS build http://stackoverflow.com/questions/19914339/error-msb3073-how-do-i-fix-this ? If I build the solution without using TFS build it works ! Thanks, Error: Solution: MasterSolution.sln, Project: Destinator.PC.Services.Local.csproj, Compilation errors and warnings C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3089,13): error MSB3073: The command "md C:\console_build\Destinator_IL\PCPortal Master\Sources\PCPortal\DestinatorPC\\Destinator.PC.App\C:\console_build\Destinator_IL\PCPortal Master\Binaries\Release\ copy *.* C:\console_build\Destinator_IL\PCPortal Master\Sources\PCPortal\DestinatorPC\\Destinator.PC.App\C:\console_build\Destinator_IL\PCPortal Master\Binaries\Release\" exited with code 1. Solution: MasterSolution.sln, Project: Destinator.PC.MapsInitoXmlConverter.csproj, Compilation errors and https://social.msdn.microsoft.com/Forums/vstudio/en-US/9c14fd1c-4c6c-4a5b-ac2a-05a2972036e9/problem-in-running-build-error-msb3073?forum=tfsbuild warnings C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3089,13): error MSB3073: The command "md C:\console_build\Destinator_IL\PCPortal Master\Sources\PCPortal\DestinatorPC\\bin copy Destinator.PC.MapsIniToXmlConverter.dll C:\console_build\Destinator_IL\PCPortal Master\Sources\PCPortal\DestinatorPC\\bin" exited with code 1. Wednesday, August 09, 2006 11:20 AM Reply | Quote Answers 0 Sign in to vote Sorry - didn't notice the command in the first post. Here's your issue: when you are building in visual studio, $(OutDir) is a relative path - typically something like "bin\Debug". In a Team Build, $(OutDir) is an absolute path - in your case it is "C:\console_build\Destinator_IL\PCPortal Master\Binaries\Release\". Try the following: md $(SolutionDir)\Destinator.PC.App\bin\$(Configuration) copy *.* $(SolutionDir)\Destinator.PC.App\bin\$(Configuration) This should work for your case, since it looks like your Platform is "Any CPU". Typically for other Platforms (e.g. x86) you would want to do something like: md $(SolutionDir)\Destinator.PC.App\bin\$(Platform)\$(Configuration) copy *.* $(SolutionDir)\Destinator.PC.App\bin\$(Platform)\$(Configuration) Let me know if this doesn't do the trick for you. -Aaron Tuesday, August 15, 200
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. ▲