More information is needed about the runtimeconfig.json file
Type of issue
Missing information
Description
[Enter feedback here] The article mentions a runtimeconfig.json file, but: (a) Doesn't indicate where to find that file (it appears to only exist in the build output folder, which suggests it is dynamically re-created every time you build - and so would overwrite any setting changes you make). (b) The file name is actually <solution,project or maybe exe name>.runtimeconfig.json
The article also mentions a runtimeconfig.template.json file, but I can't find anything like that in my solutions, so have no idea at all how to create one, or indeed what it does. My guess is maybe it provides a starting point for the X.runtimeconfig.json that is written to the build output - so indeed would be the preferable place to make changes, if only I knew where to put it, and what to write in it!
Page URL
https://learn.microsoft.com/en-us/dotnet/core/runtime-config/garbage-collector
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/runtime-config/garbage-collector.md
Document Version Independent Id
5363faee-3808-d011-d371-c48a95dcabf0
Article author
@gewarren
Metadata
- ID: 95249f95-dd1e-c3e2-032a-2c91057c50d4
- Service: dotnet-fundamentals
After exploring the documentation further, I found the relevant information is at:
https://learn.microsoft.com/en-us/dotnet/core/runtime-config/
So really all that is needed is to make the references to runtimeconfig.json hyperlink to that page.
I came to the original page through a direct link from another article - which is why it can be important to provide links like these to relevant reference material.