Error Msb3073 The Command Msbuild.exe
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 Stack Overflow the company Business Learn more about hiring 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 a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up MSB3073 'command' exited with code 9009 up vote 4 down vote favorite 3 Whenever I execute this command it throws error MSB3073 with code 9009 $(WixPath)heat dir $(Publish) -dr INSTALLFOLDER -ke -srd -cg DatoCheckerWebComponents -var var.publishDir -gg -out $(WebSiteContentCode) The entire build file is here:
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 5.8.8. I always see the 'exited withcode -1' when the batch file build is successful. I added code to examine %errorlevel% and it returns 0 when MSBuild returns'exited with code -1'. So explicitly setting errorlevel does not help.surrounding the batch file with setlocal and endlocal did not help. Where is theMSBuild environment getting the-1 value? http://stackoverflow.com/questions/22730003/msb3073-command-exited-with-code-9009 1) How can I override this value so MSBuild does notdisplay the error. BTW: the error always displays the 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 https://social.msdn.microsoft.com/Forums/vstudio/en-US/d63bd69b-e054-42db-acc1-1cf73889e93f/msbuild-error-msb3073-exited-with-code-1?forum=msbuild 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 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 "%V
Heath Stewart Application Lifecycle Management Application Insights Release Management Team Foundation Server Testing Visual Studio Team Services https://blogs.msdn.microsoft.com/visualstudio/2013/07/24/msbuild-is-now-part-of-visual-studio/ All Languages Visual C++ Visual F# JavaScript TypeScript Python .NET .NET .NET with Beth Massi ASP.NET by Scott Hanselman OData Team WPF Platform Development Apps for Windows Bing https://github.com/paulcbetts/refit/issues/97 Edge Microsoft Azure Office 365 Development Web Data Development SQL Server SQL Server Data Tools DocumentDB The Visual Studio Blog The official source of product insight from error msb3073 the Visual Studio Engineering Team MSBuild is now part of Visual Studio! ★★★★★★★★★★★★★★★ July 24, 2013 by Visual Studio Blog // 52 Comments 0 0 0 We made a number of exciting changes to MSBuild for Visual Studio 2013, including rethinking the fundamental relationship between MSBuild, Visual Studio, and the .NET Framework. MSBuild has shipped error msb3073 the as a component of the .NET framework since it was first introduced in 2005 with .NET 2.0, despite the fact that it is, first and foremost, a development tool leveraged primarily by Visual Studio developers. Starting with Visual Studio 2013, the 2013 version of MSBuild will ship as a part of Visual Studio instead of the .NET Framework. This transition allows us to more rapidly evolve MSBuild. Most of the important changes this release stem from MSBuild’s transition into Visual Studio: MSBuild and the VB/C# compilers are now available as a standalone package, Microsoft Build Tools. This package is installed with Visual Studio 2013. We are simplifying MSBuild’s versioning story. Each version of Visual Studio will have a corresponding version of the Microsoft Build Tools including MSBuild, the VB/C# compilers, and common tasks and targets that make up the 2013 Toolset. There will no longer be any sub Toolset versions. Visual Studio 2013 will exclusively use 2013 MSBuild and VB/C# compilers (assembly version 1
Sign in Pricing Blog Support Search GitHub This repository Watch 73 Star 978 Fork 125 paulcbetts/refit Code Issues 72 Pull requests 20 Projects 0 Pulse Graphs New issue InterfaceStubGenerator not working on build #97 Closed pierskarsenbarg opened this Issue Dec 19, 2014 · 14 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 5 participants pierskarsenbarg commented Dec 19, 2014 I'm getting the following error on my build: C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1069, 5): error MSB3073: The command ""..\packages\refit.2.1.0\tools\InterfaceStubGenerator.exe" "C:\TeamCity\buildAgent\work\5c154ea65fba2a12\src\Website\RefitStubs.cs" "App_Start\IoC.cs;App_Start\LessTransform.cs;App_Start\RouteConfig.cs;App_Start\BundleConfig.cs;Classes\BundleHelper.cs;Classes\FormHelper.cs;Controllers\CallbackController.cs;Controllers\T101AsyncController.cs;Models\ConfirmationViewModel.cs;Orchestrators\ISecurePaymentOrchestrator.cs;Controllers\SecureController.cs;Orchestrators\SecurePaymentOrchestrator.cs;Controllers\T101Controller.cs;Global.asax.cs;Models\PaymentViewModel.cs;Properties\AssemblyInfo.cs"" exited with code 3. I don't have any refit stub classes in that project (they're all in a different one that is referenced in this one) so I'm not sure why the generator is trying to check all these. Or am I wrong in what this .exe is trying to achieve? Should specify that I'm using teamcity for build. Owner paulcbetts commented Dec 19, 2014 I don't have any refit stub classes in that project (they're all in a different one that is referenced in this one) so I'm not sure why the generator is trying to check all these. We don't know up-front which projects use Refit and which don't, that's why we have to run the generator :) Does the build run locally? pierskarsenbarg commented Dec 19, 2014 The solution builds both locally (in visual studio and when I run msbuild on the command line) and in teamcity but when I run the project that I want to deploy (i.e. the main website project rather than the other projects that the website project references) I get the same error pierskarsenbarg commented Dec 19, 2014 It's worth noting that the website project has a reference to refit, but it's only used when I'm referencing the RestService.For() method when building an ioc container. In this case: container.RegisterSingle