我有 xamarin Native 项目,当我尝试在 visual studio 2017 中存档构建时,它失败并出现以下错误,但是当我尝试对 xamarin studio 执行相同操作时,我没有遇到任何此类问题,我可以成功存档
Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2,2):
Error: Could not load assembly 'MyApp, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? (MyApp.Droid)
如何解决问题以及问题出在哪里
更新:
这是一个xamarin原生项目
最佳答案
看来您的程序集已损坏,这将通过重新安装损坏的 SDK 并安装更新的 android 工具来修复
关于android - 为什么 visual studio 存档总是失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47517370/