Override asset selection in a package #10937
Labels
Functionality:Restore
Resolution:Duplicate
This issue appears to be a Duplicate of another issue
Type:Feature
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
The text was updated successfully, but these errors were encountered: