在Visual Studio 2017社区和Xamarin.iOS版本:11.12.0.4中使用Xcode 8.1。我将Windows连接到Mac。我在尝试编译项目时收到此错误:
Failed to resolve "System.Void Android.Runtime.ResourceDesignerAttribute::.ctor(System.String)" reference from "Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"
当我仅设置' Link Framework SDK'在项目选项 - >构建 - > iOS构建 - >链接器行为 - >仅限链接框架SDK 。在我将其设置为"不要链接" 之前,它显示错误
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仅限SDK' 我收到此错误
Failed to resolve "System.Void Android.Runtime.ResourceDesignerAttribute::.ctor(System.String)" reference from "Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"
我该如何解决?
答案 0 :(得分:0)
我通过从IOS项目中删除android dll来解决此问题。