[quote]That shouldn't be required under normal circumstances, specify a RuntimeIdentifier if you haven't already to only provide the dlls/resources for the relevant platform/quote]
Also I tried the RuntimeIdentifier you suggested and I get:
Error NETSDK1032 The RuntimeIdentifier platform 'win-x64' and the PlatformTarget 'x86' must be compatible. C:\Program Files\dotnet\sdk\5.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets 168
Which is almost impossible to find where win-x64 is set. I have looked everywhere I can think of.