зеркало из https://github.com/microsoft/BuildXL.git
6b28ca2771
Added MSBuild frontend documentation. Include: - Added more examples for MSBuild frontends - Reorganized DScript frontend. |
||
---|---|---|
.. | ||
HelloWorldCS.csproj | ||
Program.cs | ||
README.md | ||
build.cmd | ||
config.dsc |
README.md
This example demonstrates how to build a simple Hello World C# project using MSBuild frontend.
Prerequisite
- Install Visual Studio.
Instructions
- Open a Developer command prompt for VS.
- Restore project:
msbuild /t:restore
. - Set the environment variable
BUILDXL_BIN
to the BuildXL binary folder containingbxl.exe
. For example, if your BuildXL repo is inD:\BuildXL
, then building BuildXL itself usingbxl.cmd -Minimal
will put thebxl.exe
inD:\BuildXL\Out\Bin\debug\win-x64
. - Run
build.cmd
.
The build outputs will be located in the bin
folder. For further configuration options, see MsBuildResolver interface definition.