Skip to content

Conversation

@rolfbjarne
Copy link
Member

This also makes things a bit easier with regards to the .NET 5 work.

Fixes #7923.

This also makes things a bit easier with regards to the .NET 5 work.

Fixes dotnet#7923.
@rolfbjarne rolfbjarne added the enhancement The issue or pull request is an enhancement label Apr 13, 2020
static string MonoPrefix {
get {
if (mono_prefix == null) {
mono_prefix = Environment.GetEnvironmentVariable ("MONO_PREFIX");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not Environment.GetEnvironmentVariable ("MONO_PREFIX") ?? "/Library/Frameworks/Mono.framework/Versions/Current" ?

Copy link
Contributor

@Therzok Therzok Apr 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetEnvironmentVariable could possibly return string.Empty.

@monojenkins
Copy link
Collaborator

Build success
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@rolfbjarne rolfbjarne merged commit 794fd99 into dotnet:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement The issue or pull request is an enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove hard-coded paths from mmp

6 participants