-
Notifications
You must be signed in to change notification settings - Fork 252
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
Mechanism for supplying runtime.json outside of a package #7351
Comments
Downsides of current workaround (referencing platform package implicitly if there are any other package references):
|
Probably we would use an MSBuild property instead of an item for this, as that wouldn't require nomination API changes. |
The idea is to use a property to avoid nomination changes. It can be a semicolon delimited property similar to TargetFrameworks for example. I will create a short spec on this. |
Update the issue body with link to the spec. |
Project system bug: dotnet/project-system#4951 |
Noticed a bunch of regression and need some help:
I would be fine to change things around, so maybe you have some recommendation/other way to achieve this and keep the old way (which is still supposed to be supported for .NET Core 2 from what I understood)? |
Not sure if this is enabled in 2.x, @nguerrera, @dsplaisted will know. Can you clarify what you are seeing when it fails? The assets file will have all the info about what nuget "thinks" exists, and it should be on a per framework basis. |
Never mind, I think it might have been due to something else. |
In Core 3.0, the platform will not be represented as a traditional nuget package. As such, there's no obvious place for the RID graph to be supplied to NuGet.
For (2), the feature request here would be to have msbuild items that specify runtime.json files on disk to use during restore.
Something like
It's a separate question as to how the SDK will locate runtime.json for (1), but once we do that, we can then just pass it in to restore if we had this feature.
Update by @nkolev92
Spec
The text was updated successfully, but these errors were encountered: