How do I do the equivalent of a nmake all?


In both the "make" and "msbuild" build systems, there actually isn't any special concept of "all". It just so happens that most makefiles have a target called "all" that depends on all the other targets in the makefile. In ""MSBuild"", you can do a similar thing:

		 <Target Name="All"
		         DependsOnTargets="MyTarget1; [MyTarget2;] [MyTarget3;] etc" />
	

Once this is in place, you can run the "All" target by issuing this command:

		 msbuild.exe /t:all
	
Microsoft Communities