Xamarin 存档工具 - 看似正常的错误但原因未知 [英] Xamarin Archive tool - Seemingly normal error but unknown cause

查看:18
本文介绍了Xamarin 存档工具 - 看似正常的错误但原因未知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,不知何故,我的 Android 版本在我尝试存档时开始显示以下错误:

Today, for no reason that I can determine, my Android builds started showing this error below whenever I try to archive them:

请确保您使用的是发布配置,并且未选中项目构建选项中的使用共享单声道运行时"选项.

当然,我确保未选中使用共享运行时"(这是最接近错误消息的内容)选项.我还使用了相同的发布配置,该配置已成功构建和存档数月(包括上周).

I have, of course, ensured that the "Use Shared Runtime" (that's the closest thing to the error message) option is unchecked. I am also using the same exact Release configuration that has successfully built and archived for months, including last week.

说了这么多,有没有其他人遇到过这个错误并知道解决方法?

All that said, has anyone else encountered this error and know of a way around it?

我尝试过的事情:

  • 清理、重建、存档.
  • 清理、关闭 VS、删除 bin/obj、重新打开、重建、存档.
  • 清理、重启机器、删除 bin/obj、重新打开 VS、重建存档.
  • 恢复到之前的应用代码,#1-3.
  • 放弃,谷歌搜索,一无所获,问问 Xamarin.
  • 不耐烦了.询问 SO.

欢迎提出任何想法.

推荐答案

尽管您已经尝试了许多常用选项,删除 .vs 目录 可以修复一些奇怪和未知的 IDE 行为.

Though you've already tried many common options, deleting .vs directory can fix some strange and unknown IDE behaviors.

这篇关于Xamarin 存档工具 - 看似正常的错误但原因未知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆