C#: Fallback to `dotnet --info` to determine .NET RID
C#: Fallback to `dotnet --info` to determine .NET RID

Some Linux distros use their distro name as the RID for directory names.
If the .NET Host directory cannot be found with the generic RID,
try to get the rid from `dotnet --info`.

The generic RID should still be the first choice. Some platforms like
Windows 10 define the RID as `win10-x64` but still use the generic
`win-x64` for directory names.

Co-authored-by: Lewis James <f485dc9d4ac2fbdf4cfe17b88f59e00ddee2f1cf@gmail.com>

Shockblast/godot,sanikoyes/godot,Zylann/godot,firefly2442/godot,pkowal1982/godot,josempans/godot,godotengine/godot,Zylann/godot,vkbsb/godot,pkowal1982/godot,akien-mga/godot,akien-mga/godot,akien-mga/godot,Zylann/godot,sanikoyes/godot,Shockblast/godot,BastiaanOlij/godot,sanikoyes/godot,pkowal1982/godot,vkbsb/godot,akien-mga/godot,BastiaanOlij/godot,josempans/godot,ZuBsPaCe/godot,godotengine/godot,josempans/godot,godotengine/godot,ZuBsPaCe/godot,sanikoyes/godot,guilhermefelipecgs/godot,pkowal1982/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,sanikoyes/godot,firefly2442/godot,pkowal1982/godot,akien-mga/godot,godotengine/godot,akien-mga/godot,Zylann/godot,sanikoyes/godot,Shockblast/godot,sanikoyes/godot,josempans/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,josempans/godot,Zylann/godot,ZuBsPaCe/godot,Shockblast/godot,vkbsb/godot,pkowal1982/godot,Shockblast/godot,BastiaanOlij/godot,Zylann/godot,Shockblast/godot,josempans/godot,pkowal1982/godot,vkbsb/godot,firefly2442/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,godotengine/godot,Shockblast/godot,vkbsb/godot,josempans/godot,sanikoyes/godot,firefly2442/godot,vkbsb/godot,BastiaanOlij/godot,vkbsb/godot,akien-mga/godot,Shockblast/godot,godotengine/godot,pkowal1982/godot,godotengine/godot,firefly2442/godot,josempans/godot,Zylann/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,BastiaanOlij/godot,Zylann/godot,ZuBsPaCe/godot,godotengine/godot,firefly2442/godot,ZuBsPaCe/godot,guilhermefelipecgs/godot,vkbsb/godot,akien-mga/godot,BastiaanOlij/godot,firefly2442/godot,firefly2442/godot,ZuBsPaCe/godot