.NET Core Runtime and SDK installations need to be easily detectable from third party apps/installers
- Dominant language
- PowerShell
- Stars
- 22k
- Forks
- 4.9k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 29
Description
The only means of detecting whether a certain version of .NET Core (runtime or SDK) is installed is by running dotnet --info and parsing the output. This is also not reliable since it basically enumerates the folders that are present without answering whether the product itself is correctly installed. We need a robust way for customers to detect in their apps or installers whether a certain minimum version of the shared framework runtime or SDK is installed or not.
In the .NET Framework world we enabled this via the "Release" key in the registry, the customer could check the DWORD value and be assured the minimum needed version was present. Replicating that in the .NET Core world would work for Windows since this is a registry based solution. For a cross-plat solution we may need to do something different. Or alternatively we could have different detection approaches that are native to the platform .NET is installed on. We should do something here in .NET 7.
Contributor guide
Assessment
This issue has not been assessed yet.