Use portable BuildRid instead of distro specific rid

This commit is contained in:
Jackson Schuster 2024-04-01 10:47:49 -07:00
parent 266aaabc46
commit 0ee472fc9e

View file

@ -11,7 +11,7 @@
<!-- DOTNET_ROOT is not set when running the test, so the testhost looks in the global installation location for preview framework assemblies, which aren't there --> <!-- DOTNET_ROOT is not set when running the test, so the testhost looks in the global installation location for preview framework assemblies, which aren't there -->
<!-- As a workaround, just publish self-contained to copy the framework assemblies from the local sdk --> <!-- As a workaround, just publish self-contained to copy the framework assemblies from the local sdk -->
<SelfContained>true</SelfContained> <SelfContained>true</SelfContained>
<RuntimeIdentifier>$(BuildRid)</RuntimeIdentifier> <RuntimeIdentifier>$([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier)</RuntimeIdentifier>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>