我为Visual Studio 2015安装了Xamarin,并创建了Xamarin.Forms Portable项目.之后,我尝试构建解决方案.
I installed Xamarin for Visual Studio 2015 and I created Xamarin.Forms Portable project. After that I have tried to build solution.
但是我在UWP项目中遇到了一个错误:错误类型Universe无法解析程序集:Visual Studio 2015中的System.Runtime,版本= 4.0.0.0 .
But I got an error for UWP project: Error Type universe cannot resolve assembly: System.Runtime, Version=4.0.0.0, in Visual Studio 2015.
出什么问题了?
推荐答案解决方案很简单.我通过程序包管理器控制台安装了Mirosoft.NETCore.UniversalWindowsPlatform程序包: PM>安装包Microsoft.NETCore.UniversalWindowsPlatform
The solution was simple. I installed Mirosoft.NETCore.UniversalWindowsPlatform package via the Package Manager Console: PM> Install-Package Microsoft.NETCore.UniversalWindowsPlatform
更多推荐
在Visual Studio 2015中创建后未构建Xamarin UWP项目
发布评论