I can't create a universal 10 project after upgrading from windows 8.1 pro to windows 10

余生颓废 提交于 2019-12-20 02:29:32

问题


Problem

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.

Tried

  • modified the installation of visual Studio
  • and the universal tools are already installed
  • then I have repaired visual Studio

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).

Question

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

thanks for help


回答1:


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

  • open Nuget package manager, show installed packages, uninstall the one with name Microsoft.NETCore.UniversalWindowsPlatform
  • now search net for package with the same and install it.

After this I was able to build successfully the project.

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



来源:https://stackoverflow.com/questions/34196143/i-cant-create-a-universal-10-project-after-upgrading-from-windows-8-1-pro-to-wi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!