Last active
May 9, 2017 20:14
-
-
Save dasMulli/29c7d68f321cc5ac4a68407a6fd76d19 to your computer and use it in GitHub Desktop.
Invokes msbuild with .net core sdk path on mac and linux. Copied with some edits from omnisharp-roslyn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
DOTNET_CLI_PATH="$(dirname $(which dotnet))/sdk/$(dotnet --version)" | |
export MSBuildExtensionsPath="$DOTNET_CLI_PATH/" | |
export CscToolExe="$DOTNET_CLI_PATH/Roslyn/RunCsc.sh" | |
export MSBuildSDKsPath="$DOTNET_CLI_PATH/Sdks" | |
msbuild /nologo /v:minimal "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment