简体   繁体   English

MVVMCROSS Wpf设置

[英]MVVMCROSS Wpf Setup

ANSWER: Just update the packages and make sure the packages in the PCL and WPF are the same. 解答:只需更新软件包,并确保PCL和WPF中的软件包相同即可。

I'm having trouble creating the setup class for my wpf project. 我在为wpf项目创建安装程序类时遇到问题。 I have iOS, Android and WinPhone working. 我有iOS,Android和WinPhone。 But in the setup class for the wpf project I'm getting this error: 但是在wpf项目的安装程序类中,我收到此错误:

在此处输入图片说明

Please note that ProjectGaea.Mobile is my PCL that I've reference in other projects such as iOS and Android. 请注意, ProjectGaea.Mobile是我在其他项目(例如iOS和Android)中引用的PCL。

I've also installed the mvvmcross.core nuget package. 我还安装了mvvmcross.core nuget软件包。 I have also referenced the pcl in the wpf project. 我还在wpf项目中引用了pcl。 So what could be causing the problem? 那么是什么原因引起的呢?

PCL和The Wpf Project中的软件包必须为同一版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM