我为 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 项目的错误:Error Type Universe cannot resolve assembly: System.Runtime, Version=4.0.0.0, in Visual Studio 2015.
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 包:下午>安装包 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 项目
发布评论