зеркало из https://github.com/microsoft/BuildXL.git
6786c21501
The MsBuildGraphBuilder tool was loading `System.Collections.Immutable.dll` from the tool deployment folder. In newer versions of MSBuild a different version of the library is being referenced: loading this newer MSBuild and the old DLL caused a runtime error, (e.g. our example MsBuild project failed to build with the latest MsBuild with a `MissingMethodException`). Related work items: #1807610 |
||
---|---|---|
.. | ||
Example.vcxproj | ||
README.md | ||
build.bat | ||
build.ps1 | ||
config.bc | ||
main.cc |
README.md
Instructions
- Setup BuildXL as explained in the documentation
- Point the environment variable
BUILDXL_BIN
to the BuildXL binary folder path. For example, if you set up BuildXL inD:\BuildXL
, thenD:\BuildXL\Out\Bin\debug\win-x64
should be the value. - Optionally specify searchs locations for the MSBuild directory in
config.bc
through themsBuildSearchLocations
parameter. This also helps to consistently load the assemblies needed by MSBuild from those same locations. If this is not specified, thePATH
environment variable will be used to findMSBuild.exe
and the required assemblies. - Run
.\run.ps1
from PowerShell, or equivalentlyrun.bat
from the command line prompt
The build outputs will be located in the Debug
folder. For further configuration options, see the MsBuildResolver interface definition