community/dotnet7: fix RID issue for good
dotnet --info
still shows the incorrect RID. This is due to the /etc/os-release
file showing VERSION_ID=3.17.0_rc3
, which the build script doesn't know how to parse. Previous fix only knew how to parse 3.17.0
or 3.17_rcx
This change will fix RID issues for good by never trusting dotnet build to set TargetRid
itself. This also might fix another intermitent bug encountered during build of r1
.