在 Visual Studio 2015 中创建后未构建 Xamarin UWP 项目

编程入门 行业动态 更新时间:2024-10-22 23:26:35
本文介绍了在 Visual Studio 2015 中创建后未构建 Xamarin UWP 项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我为 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 项目

本文发布于:2023-11-10 22:05:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1576586.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   Studio   Visual   UWP   Xamarin

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!