我正在尝试开发一些跨平台的应用程序。
我正在使用MvvmCross v4.4.0
,Microsoft.NETCore.UniversalWindowsPlatform 5.3.3
,Xamarin.Android
等...
我想按原样组织解决方案:
我向应用程序(app1和app2)引用了插件(DialogMessage,ToastNotifications,...)。
在此之前,没有任何异常......
使用Package Manager控制台,我输入以下命令:
Install-Package MvvmCross -Version 4.4.0 -Verbose -ProjectName ClientName.MvvmCrossCustomPlugin.DialogMessage
结果:已成功将'MvvmCross 4.4.0'安装到'ClientName.MvvmCrossCustomPlugin.DialogMessage'
Install-Package MvvmCross -Version 4.4.0 -Verbose -ProjectName ClientName.MvvmCrossCustomPlugin.DialogMessage.UWP
结果:
Checking compatibility for System.Private.Uri 4.0.1 with UAP,Version=v10.0.10586 (win10-x86).
Checking compatibility for runtime.native.System.Security.Cryptography 4.0.0 with UAP,Version=v10.0.10586 (win10-x86).
Checking compatibility for runtime.win7.System.Private.Uri 4.0.2 with UAP,Version=v10.0.10586 (win10-x86).
Install-Package : One or more projects are incompatible with UAP,Version=v10.0.10586 (win10-x86).
...
Incompatible projects: 1
...
Install-Package : Project ClientName.MvvmCrossCustomPlugin.DialogMessage.UWP is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86-aot. Project ClientName.MvvmCrossCustomPlugin.DialogMessage.UWP supports: uap10.0.14393
我在所有Windows Universal Platform应用程序和库中都存在同样的问题....
我正在使用Visual Studio Enterprise 2017 15.1(26403.7)
我尝试使用不同版本的项目目标和Microsoft.NETCore.UniversalWindowsPlatform 5.3.3
nuget包......