I use this command
dotnet publish -c Release --force -r **win-x86** --self-contained true
try to publish a project, while I want to publish a any cpu project, with
dotnet publish -c Release --force -r **AnyCPU** --self-contained true
dotnet publish -c Release --force -r **win** --self-contained true
dotnet publish -c Release --force -r **any** --self-contained true
said the RID cannot be found.
Is there a way to publish a any cpu project for .net core(.net 5)?