从 Windows 8.1 专业版升级到 Windows 10 后,我无法创建通用 10 项目 [英] I can't create a universal 10 project after upgrading from windows 8.1 pro to windows 10

查看:37
本文介绍了从 Windows 8.1 专业版升级到 Windows 10 后,我无法创建通用 10 项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题

我已将我的 windows 8.1 pro 64 bits 升级到 windows 10 64 bits 以使用 windows 10 处理通用应用程序,但是我请注意,当我使用 visual Studio 2015 创建一个新的通用 10 项目时,会出现很多错误.

I have upgraded my windows 8.1 pro 64 bits to windows 10 64 bits to work on universal apps with windows 10,but what I note is there many errors when I create a new universal 10 project with visual Studio 2015.

尝试过

  • 修改了visual Studio
  • 的安装
  • 并且通用工具已经安装
  • 然后我修复了visual Studio

但我总是在打开通用 10 项目时遇到问题(这些错误在我创建通用 windows 8.1 应用项目时不会出现).

but always I have a problem in opening a universal 10 Project (those errors are not appeared when I come to create a universal windows 8.1 app project).

问题

那些错误只出现在 App.xaml.cs 中,请帮助我如何解决错误

those errors appears only in App.xaml.cs,any help please how can I solve the error

感谢帮助

推荐答案

有一次我偶然发现了同样的问题.我能够像这样修复它:

Once I stumbled on the same problem. I was able to fix it like this:

  • 打开 Nuget 包管理器,显示已安装的包,卸载名为 Microsoft.NETCore.UniversalWindowsPlatform
  • 现在在网络上搜索相同的包并安装它.

在此之后,我能够成功构建项目.

After this I was able to build successfully the project.

另外请检查您是否安装了最新的 VS 更新 - 链接

Also please check if you have installed the latest VS update - link

这篇关于从 Windows 8.1 专业版升级到 Windows 10 后,我无法创建通用 10 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆