Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix generation of RID on distros that do not set VERSION_ID (dotnet#2…
…5034) Rolling-release distros do not set this variable, leading to invalid RIDs such as "gentoo.-x64", which causes build failures. Omit VERSION_ID (and the period preceding it) when unset, so it's consistent with host and PlatformAbstractions. Fixes #19769.
- Loading branch information