The Microsoft .NET Build Engine - MSBuild.exe


The Microsoft .NET Build Engine ”MSBuild.exe

MSBuild is the primary tool you use to build a Longhorn application. You can run MSBuild with the help command-line option to get detailed information on its usage:

 MSBuild /? 

When you execute MSBuild without any command-line arguments, as shown here, it searches in the current working directory for a file name that ends with proj , for example, .proj, .csproj, etc. When it finds one, it builds the project according to the directives in that file.

 MSBuild 

When you have more than one project file in the directory, you can specify the appropriate project file on the command line:

 MSBuild <ProjectName>.proj 

Normally, MSBuild builds the default target in the project file. You can override this and specify the target you want build. For example, to build the target named CleanBuild , you invoke MSBuild as follows :

 MSBuild /t:Cleanbuild 



Introducing Microsoft WinFX
Introducing WinFX(TM) The Application Programming Interface for the Next Generation of Microsoft Windows Code Name Longhorn (Pro Developer)
ISBN: 0735620857
EAN: 2147483647
Year: 2004
Pages: 83
Authors: Brent Rector

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net