Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build has been canceled

I am having trouble compiling a default project using visual studio 2010 professional 64bit. When I run a new web application for asp.net or asp.net mvc, I get the following error in the output window.

------ Build started: Project: WebApplication1, Configuration: Debug Any CPU ------ Build has been canceled.

like image 250
chobo Avatar asked Dec 07 '22 23:12

chobo


2 Answers

Was JsLint and the default option 'cancel on build'

like image 137
chobo Avatar answered Jun 13 '23 01:06

chobo


Have you tried executing the build from the command line using MSBuild.exe? You can better tweak the debug level and perhaps learn more about where the build is failing. For example, executing this from the command line:

Msbuild.exe WebApplication1.csproj /verbosity:detailed

Will give you more data than just building in visual studio. If that isn't enough, you can change the "detailed" to "diagnostic" and learn even more (though, that will be hard to read).

I think (though I could be wrong) what you get in the visual studio window is "minimal" verbosity, which often hides some important facts.

http://msdn.microsoft.com/en-us/library/ms164311.aspx

like image 28
Brian Colavito Avatar answered Jun 13 '23 00:06

Brian Colavito