Skip to content

mono_build

Andrew Arnott edited this page May 7, 2017 · 1 revision

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.

Clone this wiki locally