1 mono_build
Andrew Arnott редактировал(а) эту страницу 2017-05-06 22:32:47 -07:00

You can build vs-mef on Mac or Linux after installing MSBuild 15.1 and the dotnet CLI.

First help MSBuild 15.1 find the dotnet SDK by running these commands:

SDK_DIR="/usr/share/dotnet/sdk/1.0.1/"
export CscToolExe=$SDK_DIR/Roslyn/RunCsc.sh
export MSBuildExtensionsPath=$SDK_DIR
export MSBuildSDKsPath=$SDK_DIR/Sdks

After that, running MSBuild 15.1 should work:

msbuild /t:restore
msbuild

At present, MSBuild crashes when building the test project. It also fails when building the solution. But it seems to work to build just the library itself.