无法解析来自 "Mono.Android " 的 "System.Void Android.Runtime.ResourceDesignerAttribute::.ctor(System.String)" 引用
Failed to resolve "System.Void Android.Runtime.ResourceDesignerAttribute::.ctor(System.String)" reference from "Mono.Android "
使用 Xcode 8.1 与 visual studio 2017 社区和 Xamarin.iOS 版本:11.12.0.4。我正在将 windows 连接到 Mac.I 在尝试编译我的项目时遇到此错误:
Failed to resolve "System.Void Android.Runtime.ResourceDesignerAttribute::.ctor(System.String)" reference from "Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"
当我在 Project Options->Build->iOS Build->Linker Behavior -> [=43] 中设置 'Link Framework SDKs only' 时,此错误开始出现=] 仅框架 SDK。在我将其设置为 "Don't Link" 之前,它显示错误
This version of Xamarin.iOS requires the iOS 9.3 SDK (shipped with Xcode 7.3) when the managed linker is disabled. Either upgrade Xcode, or enable the managed linker.
所以我遵循了这个 this link 。所以他们建议我 升级 X 代码 我 不想做 。下一个选项是设置 'Link Framework SDKs only' 我得到了这个错误
Failed to resolve "System.Void Android.Runtime.ResourceDesignerAttribute::.ctor(System.String)" reference from "Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"
我该如何解决?
我通过从我的 IOS 项目中删除 android dll 解决了这个问题。
使用 Xcode 8.1 与 visual studio 2017 社区和 Xamarin.iOS 版本:11.12.0.4。我正在将 windows 连接到 Mac.I 在尝试编译我的项目时遇到此错误:
Failed to resolve "System.Void Android.Runtime.ResourceDesignerAttribute::.ctor(System.String)" reference from "Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"
当我在 Project Options->Build->iOS Build->Linker Behavior -> [=43] 中设置 'Link Framework SDKs only' 时,此错误开始出现=] 仅框架 SDK。在我将其设置为 "Don't Link" 之前,它显示错误
This version of Xamarin.iOS requires the iOS 9.3 SDK (shipped with Xcode 7.3) when the managed linker is disabled. Either upgrade Xcode, or enable the managed linker.
所以我遵循了这个 this link 。所以他们建议我 升级 X 代码 我 不想做 。下一个选项是设置 'Link Framework SDKs only' 我得到了这个错误
Failed to resolve "System.Void Android.Runtime.ResourceDesignerAttribute::.ctor(System.String)" reference from "Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"
我该如何解决?
我通过从我的 IOS 项目中删除 android dll 解决了这个问题。