Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Mechanism for supplying runtime.json outside of a package #7351
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.
<ItemGroup> <RuntimeGraph Include="path/to/runtime.json" /> </ItemGroup>
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.
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)?
Never mind, I think it might have been due to something else.