Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DotNetHelper: fix IsMonoRuntime being initialized before extracting the sdk. #15646

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

tmds
Copy link
Member

@tmds tmds commented Feb 27, 2023

Fixes the mono detection added in #15341.

The code that checks for mono runs against a directory that is created by the tests.
It worked for me locally because I had ran the tests before.
On a fresh run, it always returned IsMonoRuntime = false because the sdk was not extracted yet.

This fixes the detection by running it after the sdk is extracted.

@crummel @MichaelSimons ptal.

cc @omajid

@tmds tmds requested a review from a team as a code owner February 27, 2023 15:44
@tmds
Copy link
Member Author

tmds commented Mar 14, 2023

@MichaelSimons will this auto-merge?

@MichaelSimons MichaelSimons merged commit b672d91 into dotnet:release/7.0.1xx Mar 14, 2023
@MichaelSimons
Copy link
Member

@MichaelSimons will this auto-merge?

No - so I took care of it.

@tmds
Copy link
Member Author

tmds commented Mar 14, 2023

Thanks!

I'm looking forward to see our CI build turn green this time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants