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
Old csproj with <PackageReference> requires <BaseNuGetRuntimeIdentifier> and <RuntimeIdentifier> #4558
Comments
This is likely something we'll address in 4.0.1 - we have tried in 4.0 to put some RIDs in a few target files to handle:
what about this scenario isn't ideal? |
Not sure what you're asking. Are you a asking why duplicating the same RID in 2 different properties isn't ideal? |
Was asking the person who will be investigating. |
by default Now I don't understand what's the scenario to set |
It's ridiculous to force users to set both properties to the same value. In face BaseRuntimeNuGetIdentifier needs to be deprecated. It's an artifact of the old nuget task and runtime identifier should be the only one that matters now. Setting the RID is sometimes required to deploy the right assets (like when you target a .net framework project and reference a package that has native assets) |
Agreed, we shouldn't ask user to set both properties but I doubt we will be targeting it for RTM we can have a better solution in 4.0.1, About deprecating |
I have .NET 4.5.2 project with using the new
<PackageReference>
support. I installedMicrosoft.AspNetCore.Kestrel
which has a dependency onlibv
which has RID folders.The relevant part of my project file looks like this:
Adding
<RuntimeIdentifier>win7-x86</RuntimeIdentifier>
works:The text was updated successfully, but these errors were encountered: