Skip to content

Don't infer UseMonoRuntime based on the RID - #16909

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:reference-mono-rid
Apr 15, 2021
Merged

akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:reference-mono-rid

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

It is problematic when the RID is set in the .csproj, or when using RuntimeIdentifier_s_.
We will require workloads to explicitly opt-in to the Mono runtime packs.

It is problematic when the RID is set in the .csproj, or when using RuntimeIdentifier_s_.
We will require workloads to explicitly opt-in to the Mono runtime packs.
@akoeplinger
akoeplinger requested a review from dsplaisted April 14, 2021 19:07
@ghost

ghost commented Apr 14, 2021

Copy link
Copy Markdown

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@pranavkm pranavkm left a comment

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.

LGTM

@dsplaisted dsplaisted left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Redth @jonathanpeppers The ios and android workloads may need to set UseMonoRuntime in response to this.

@akoeplinger
akoeplinger merged commit 451187a into dotnet:main Apr 15, 2021
@akoeplinger
akoeplinger deleted the reference-mono-rid branch April 15, 2021 08:22
@akoeplinger

Copy link
Copy Markdown
Member Author

Yup I've talked to @pjcollins about it and the changes are in progress in XA/XI.

@jonathanpeppers

Copy link
Copy Markdown
Member

akoeplinger added a commit to dotnet/runtime that referenced this pull request Jun 10, 2021
ViktorHofer added a commit to dotnet/runtime that referenced this pull request Jun 11, 2021
* Update dotnet SDK to 6.0 Preview 4

Update the minimum and target version of the SDK to 6.0 Preview 4.

Part of #53411

* Switch to using eng/targetingpacks.targets for redirecting runtime pack location in src/mono/sample

* Fix binder tracing tests

* Set UseMonoRuntime property so the dotnet SDK can pull the mono runtime packs

This is necessary after the changes from dotnet/sdk#16909.

* Move UseMonoRuntimeProperty and set it to false in coreclr

Co-authored-by: Alexander Köplinger <[email protected]>
Co-authored-by: Elinor Fung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants