c# - Xamarin.iOS.dll & GalaSoft.MvvmLight.Platform.dll 被引用

标签 c# ios dll xamarin.ios xamarin

我在 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/

相关文章:

c# - 需要帮助从 SQL Server CE 数据库获取数据

c# - 在接收 Process.Exited 事件时更新父进程 GUI - WPF

java - System.loadLibrary() 错误 - 无法指定相对或绝对路径

java - 从 JAVA 调用 C#.NET 方法

ios - NSInvalidArgumentException,原因 : '-[NSNull isEqualToString:]

c++ - mxnet 使用 intel mkl 构建总是抛出错误 "Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll."

c# - System.Reactive 3.0 中缺少 Observable 类和 ToObservable

c# - 如何安全地将 long 缩小为 int?

ios - Swift:如何实现字符串数组的枚举

ios - 两个带有数据的 TableView ,并希望从一个特定的 TableView 中删除索引。我还必须删除另一个数组吗?