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

编程入门 行业动态 更新时间:2024-10-22 21:42:20
本文介绍了在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项目中遇到了一个错误:错误类型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项目

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

发布评论

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

>www.elefans.com

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