Xamarin Archive tool - Seemingly normal error but unknown cause

流过昼夜 提交于 2019-12-11 04:35:23

问题


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

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

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?

Things I have tried:

  • Clean, rebuild, archive.
  • Clean, close VS, delete bin/obj, re-open, rebuild, archive.
  • Clean, reboot machine, delete bin/obj, re-open VS, rebuild archive.
  • Revert to previous app code, #1-3.
  • Give up, Google It, find nothing, ask Xamarin.
  • Get impatient. Ask SO.

Any ideas would be very welcome.


回答1:


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



来源:https://stackoverflow.com/questions/50534351/xamarin-archive-tool-seemingly-normal-error-but-unknown-cause

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!