无法创建 xamarin 的发布版本

unable to create a release version of xamarin

我试图使用内置项目创建 xamarin 的发布版本,但遇到如下错误。

Fast Deployment is enabled for 'App1.Android'.

The selected build configuration is using a Debug-only feature for faster deployment. Apps cannot be archived with this setting enabled.

Please ensure that you are using a release configuration and that the "Use Fast Deployment" option in your project's build options is unchecked.

怎么解决的?

这个错误,我试图重新启动 visual studio 2019,但是配置“使用快速部署”被选中,即使我已经关闭并按 ctrl + s,之后我尝试将其关闭再次关机再重启,新的配置可以正确存储