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