Msb3073 Error Codes
Contents |
here for a quick overview of the site Help Center Detailed answers to any msb3073 exited with code 1 questions you might have Meta Discuss the workings and policies of
Error Msb3073: :vcend" Exited With Code 1.
this site About Us Learn more about Stack Overflow the company Business Learn more about hiring error msb3073 exited with code 3 developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is error msb3073 exited with code 2 a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How do I fix MSB3073 error in my post-build event? up vote 11 down vote favorite 4 I'm working on a project that requires that DLLs generated by building my solution
Error Msb3073 Exited With Code 4
to be copied from the bin folder to another folder, both of which are on my machine, in my C drive. I've written a batch file that uses xcopy to accomplish this, which you can see here: xcopy /s /y /q "C:\Users\scogan\Documents\Visual Studio 2012\Projects\Organizr\Server\bin\Debug\Organizr.Services.dll" "C:\inetpub\wwwroot\AppServer\bin\" xcopy /s /y /q "C:\Users\scogan\Documents\Visual Studio 2012\Projects\Organizr\Server\bin\Debug\Organizr.Services.pdb" "C:\inetpub\wwwroot\AppServer\bin\" Now, I've tried numerous iterations of this file, which is located at: C:\Users\scogan\Desktop\CopyFiles.bat so my post-build event command line looks like this: call C:\Users\scogan\Desktop\CopyFiles.bat I've run this batch file on its own with two text files in folders on my desktop, and it works fine. I've also run it as it is with the files I need to copy on its own, and that works fine, too. However, when I try to run this as a post-build event, I get this output: 1> Organizr -> C:\Users\scogan\Documents\Visual Studio 2012\Projects\Organizr\Client\bin\Debug\Organizr.exe 1> File not found - Organizr.Services.dll 1> 0 File(s) copied 1> 0 File(s) copied 1>
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the error msb3073 exited with code 9009 workings and policies of this site About Us Learn more about Stack error msb3073: :vcend" exited with code 9009. Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs
Error Msb3073 The Command Copy Exited With Code 1
Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join http://stackoverflow.com/questions/17075279/how-do-i-fix-msb3073-error-in-my-post-build-event them; it only takes a minute: Sign up Visual Studio Post Build copy command error MSB3073 exit code 1 up 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 http://stackoverflow.com/questions/25566834/visual-studio-post-build-copy-command-error-msb3073-exit-code-1 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 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 trie
Foundation Server > Team Foundation Server - Build and release management https://social.msdn.microsoft.com/Forums/vstudio/en-US/9c14fd1c-4c6c-4a5b-ac2a-05a2972036e9/problem-in-running-build-error-msb3073?forum=tfsbuild Question 0 Sign in to vote Hi I am trying to run a build using TFS and I geting an error. It looks like it fail on some post events (md directory + copy) of a VS project. Is it a known bug in TFS build ? If I build exited with 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 warnings C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3089,13): error MSB3073: The exited with code 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, 2006 1:06 PM Reply | Quote Moderator All replies 0 S