我在 Xamarin 项目中收到以下错误:
Cannot include both 'monotouch.dll' and 'Xamarin.iOS.dll' in the same Xamarin.iOS project - 'Xamarin.iOS.dll' is referenced explicitly, while 'monotouch.dll' is referenced by 'GalaSoft.MvvmLight.Platform'
Xamarin.iOS.dll 和 GalaSoft.MvvmLight.Platform.dll 都被引用,但似乎不能。
我该如何解决这个问题
最佳答案
您正在开发新的 64 位 iOS 项目吗?如果是这样,您是否尝试过使用此处提供的 64 位兼容 MVVM Light 库:http://blog.galasoft.ch/posts/2015/01/porting-mvvmlight-to-the-xamarin-ios-unified-api-64-bits做了一个快速测试,一切对我来说都很好。
关于c# - Xamarin.iOS.dll & GalaSoft.MvvmLight.Platform.dll 被引用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28170024/