You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying add new RID (ubuntu 23.04). I added entry to runtimeGroups.props in Microsoft.NETCore.Platforms and run dotnet.sh pack /p:UpdateRuntimeFiles=true as usually.
But no updates were made to runtime.json and runtime.compatibility.json
Release/6.0 branch still works but I experienced same issue with release/7.0.
With .NET 7, source-build for unknown distros manages to successfully update the graph and then use that graph in the build. The task for that (GenerateRuntimeJson) is similar to the one used here (UpdateRuntimeJson).
Activity
carlossanlop commentedon Feb 14, 2023
6.0 PR with changes that were successfully created with the generator: #82120
7.0 PR with changes that couldn't get created with the generator: #82123
tmds commentedon Feb 15, 2023
With .NET 7, source-build for unknown distros manages to successfully update the graph and then use that graph in the build. The task for that (
GenerateRuntimeJson) is similar to the one used here (UpdateRuntimeJson).runtime/src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj
Lines 60 to 79 in 53bb518
ViktorHofer commentedon Feb 15, 2023
Here's yet another PR that successfully uses the infrastructure in main: #82185. @wfurt please give it another try.
wfurt commentedon Feb 15, 2023
What do you want me to try? Just run the pack command as documentation suggest?
https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.NETCore.Platforms/readme.md
Use generated runtime.json when building shared framework packages. (#…
ViktorHofer commentedon Feb 15, 2023
I was looking for any console indication of why it doesn't work anymore but disregard as I just found the culprit: #76068
wfurt commentedon Feb 15, 2023
thanks for looking into it @ViktorHofer
tmds commentedon Feb 15, 2023
See cd2f0ff#r100777231.
tmds commentedon Feb 15, 2023
The change was also backported to 6.0 with some differences: #77510.