我使用这个命令
dotnet publish -c Release --force -r **win-x86** --self-contained true
尝试发布一个项目,而我想发布一个任何cpu项目,
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
说找不到 RID。
有没有办法为 .net core(.net 5) 发布任何 cpu 项目?