Msbuild Error Code Msb3073
Contents |
Development > MSBuild Question 0 Sign in to vote I am trying to use a batch file in amake projectin VS2010. The batch file launches various internal tools some of which are writing in Perl error msb3073 exited with code 3 5.8.8. I always see the 'exited withcode -1' when the batch file build is
Process 'msbuild.exe' Exited With Code '1'. Tfs
successful. I added code to examine %errorlevel% and it returns 0 when MSBuild returns'exited with code -1'. So explicitly setting errorlevel does not
Error Msb3073 Exited With Code 1
help.surrounding the batch file with setlocal and endlocal did not help. Where is theMSBuild environment getting the-1 value? 1) How can I override this value so MSBuild does notdisplay the error. BTW: the error always displays the
Error Msb3073: :vcend" Exited With Code 1.
entire contents of the 'Build Command Line' field which is lengthy in my case. 2) How can I suppress this too? Thanks, J.R. Thursday, February 12, 2015 12:27 PM Reply | Quote All replies 0 Sign in to vote Hello J.R. I'm trying to reproduce this issue so that I can unstand what is happening, what about share some more info here? 1. What is make project here, please clarify it, do you mean the error msb3073: :vcend" exited with code 9009. nmake in C++? https://msdn.microsoft.com/en-us/library/dd9y37ha.aspx 2. What is that batch file and what is the relationship of that batch file and the project? 3. The errorlevel seems different from %errorlevel%, do you have any environment about this? Why I say this is beacuase I saw this article: http://blogs.msdn.com/b/oldnewthing/archive/2008/09/26/8965755.aspx Since I'm not sure how you did this job, I think we may need to use logger to see if we can get some info: https://msdn.microsoft.com/en-us/library/ms171470.aspx Best regards, Barry We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey. Friday, February 13, 2015 6:32 AM Reply | Quote 0 Sign in to vote 1) I am referring to the Visual Studio's 'Makefile Project' type. 2) This is the batch text I have in the 'Build command line' field. if "%VS71COMNTOOLS%"=="" goto NotInstalled if "%VCINSTALLDIR%"=="" call "%VS71COMNTOOLS%\vsvars32.bat" call .\make.bat "DEBUG_OPTS=/Zi /Od" if errorlevel 1 goto end goto end :NotInstalled echo Visual Studio .NET 2003 not installed goto end :end 3) If I comment out calling the call to make.bat the VS does not display an error. The contents of the make.bat are very complicated and involve running perl scripts and the
here for a quick overview of the site Help Center msbuild failed with exit code 1 Detailed answers to any questions you might have Meta msb3073 exited with code 2 Discuss 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 https://social.msdn.microsoft.com/Forums/vstudio/en-US/d63bd69b-e054-42db-acc1-1cf73889e93f/msbuild-error-msb3073-exited-with-code-1?forum=msbuild Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error MSB3073: The command exited with code 3 up vote 2 down vote favorite When I try build http://stackoverflow.com/questions/37216677/error-msb3073-the-command-exited-with-code-3 the solution created in Visual Studio 2013 in Visual Studio 2015, I got the follow error: "18>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1250,5): error MSB3073: The command ""%CommonProgramFiles(x86)%\microsoft shared\TextTemplating\12.0\TextTransform.exe" -a !!build!true "C:\Users\b3bi\Documents\Visual Studio 2015\Projects\SKNL\trunk\GDP\My Project\AssemblyInfo.tt"" exited with code 3." The file in this error shows is:
here for a quick overview of the site Help http://stackoverflow.com/questions/38869243/msb3073-exited-with-code-1 Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about http://sharpsetup.eu/documentation/html/724f2ebe-5ed9-48ff-afcd-dfa5683f44d3.htm Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges exited with 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 them; it only takes a minute: Sign up MSB3073 exited with code 1 up vote -2 down vote favorite Error 102 error exited with code MSB3073: The command "copy C:\Users\Bike Simulation\Desktop\testing_dll\DrivingSimulator_DLL\example\DrivingSimulatorTextClient....\bin\VS2010\Win32\DrivingSimulatorProxy.dll C:\Users\Bike Simulation\Desktop\testing_dll\DrivingSimulator_DLL\example\DrivingSimulatorTextClient\bin\VS2010\Win32\Release\ :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 132 5 DrivingSimulatorTextClient I have seen the forums for the MSB3073 error, but i am unable to fix the problem on my code. It works on a another system, but when I try to run the code on my new PC, it pops this error. The code project is built on a sample project given by the software developer.
language specified is not supported by any of the installed packages.Value does not fall within the expected range./The parameter is incorrect.Error HRESULT E_FAIL has been returned from a call to a COM component.The command msidb.exe exited with code 2.Error MessageThe command msidb.exe exited with code 2. Cannot build SharpSetup solution with message indicating that msidb.exe exited with code 2.SummaryAfter creating new solution or when trying to build existing solution the build command may fail with message saying that msidb.exe exited with code 2. This is behaviour is most likely caused by the way msidb.exe processes command line arguments. When path to installer solution directory contains dash (-) followed by other characters, then folowed by space and then followed by another group of characters msidb.exe splits filename and treats only first part as filename. As the trimmed filename cannot be found on disk an error occurs. Affected configurationsAny supported Windows version, WiX v3.5, Visual Studio 2010, SharpSetup (1.0 or 1.2). SymptomsWhen trying to build SharpSetup solution you get the following error in Error List window: Error 1 The command ""C:\Program Files\Microsoft SDKs\Windows\v6.0A\\bin\msidb.exe" -d "C:\Users\administrator\Documents\Visual Studio 2008\Projects\Installer1-MyApp 2008\Debug\Package.msi" -r "C:\Users\administrator\Documents\Visual Studio 2008\Projects\Installer1-MyApp 2008\Debug\en-GB\en-GB"" exited with code 2. C:\Program Files\MsBuild\SharpSetup\SharpSetup.WixTranslation.targets 14 6 Package Output window contains the following message: "C:\Program Files\Microsoft SDKs\Windows\v6.0A\\bin\msidb.exe" -d "C:\Users\administrator\Documents\Visual Studio 2008\Projects\Installer1-MyApp 2008\Debug\Package.msi" -r "C:\Users\administrator\Documents\Visual Studio 2008\Projects\Installer1-MyApp 2008\Debug\en-GB\en-GB" C:\Users\administrator\Documents\Visual Studio 2008\Projects\Installer1-MyApp: Unable to place file in stream C:\Program Files\MsBuild\SharpSetup\SharpSetup.WixTranslation.targets(14,5): error MSB3073: The command ""C:\Program Files\Microsoft SDKs\Windows\v6.0A\\bin\msidb.exe" -d "C:\Users\administrator\Documents\Visual Studio 2008\Projects\Installer1-MyApp 2008\Debug\Package.msi" -r "C:\Users\administrator\Documents\Visual Studio 2008\Projects\Insta