Skip to content

[mmp] Make the system mono location customizable. Fixes #7923. - #8369

Merged
rolfbjarne merged 1 commit into
dotnet:masterfrom
rolfbjarne:mmp-configurable-system-mono
Apr 14, 2020
Merged

[mmp] Make the system mono location customizable. Fixes #7923.#8369
rolfbjarne merged 1 commit into
dotnet:masterfrom
rolfbjarne:mmp-configurable-system-mono

Conversation

@rolfbjarne

Copy link
Copy Markdown
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
Comment thread tools/mmp/driver.cs
static string MonoPrefix {
get {
if (mono_prefix == null) {
mono_prefix = Environment.GetEnvironmentVariable ("MONO_PREFIX");

Copy link
Copy Markdown
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" ?

@Therzok Therzok Apr 13, 2020

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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