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

Override asset selection in a package #10937

Closed
akoeplinger opened this issue Jun 11, 2021 · 2 comments
Closed

Override asset selection in a package #10937

akoeplinger opened this issue Jun 11, 2021 · 2 comments
Labels
Functionality:Restore Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Feature

Comments

@akoeplinger
Copy link

Continuation from the discussion in dotnet/designs#222.

With the transition of Xamarin from Mono (== .NET Framework) to .NET Core based class libraries and TFMs we're hitting cases where a netcoreapp asset is selected instead of e.g. a netstandard one like before due to the new precedence rules.

This causes problems since some packages assumed that netcoreapp meant ".NET on desktop platforms" and did things that won't work on mobile like checking the existence of some files etc while the netstandard asset would work just fine.

It'd be good to have a way to somehow be able to override which asset is selected for a given package to have an escape hatch until the ecosystem gets updated.

/cc @JonDouglas @nkolev92

@zivkan
Copy link
Member

zivkan commented Jun 11, 2021

duplicate of #7416

I think it would be good to put your comments there to have the feature discussion in one place.

@nkolev92
Copy link
Member

Closing as dup of #7416

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Restore Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Feature
Projects
None yet
Development

No branches or pull requests

3 participants