简体   繁体   English

新Template10空白应用程序中的错误

[英]Errors in new Template10 Blank app

I tried a new blank app for Template10. 我为Template10尝试了一个新的空白应用程序。
The first thing that comes up is a web page that gives some sort of supplimentary instructions as to why the app has 163 errors. 首先出现的是一个网页,其中提供了有关该应用为何出现163错误的一些补充说明。

I don't understand what it is trying to say, nor how to clear the errors. 我不明白它要说的是什么,也不知道如何清除错误。 Somethign about control q? 关于控制q的一些东西? That does nothing. 那什么也没做。 Is the app running when you press that? 按下该应用程序即可运行吗? Is there some non-shortcut way to make sense of this? 有某种非捷径的方法可以理解这一点吗? Why are the errors there in the first place.. 为什么错误首先出现在那儿..

https://github.com/Windows-XAML/Template10/wiki/Welcome-%7C-Blank-Template https://github.com/Windows-XAML/Template10/wiki/Welcome-%7C-Blank-Template

Hit F5 right now and run your new app! 立即点击F5并运行您的新应用! To refresh Visual Studio's intellisense, follow this: 要刷新Visual Studio的智能,请执行以下操作:

  1. Press Ctrl+Q, type pac man gen 按Ctrl + Q,输入pac man gen
  2. Ensure Allow NuGet to download missing packages is checked. 确保已选中“允许NuGet下载缺少的软件包”。
  3. Ensure Automatically check for missing packages during build in Visual Studio is checked. 确保已选中在Visual Studio构建期间自动检查丢失的软件包。
  4. Right-click your Solution, and select Clean 右键单击您的解决方案,然后选择清理
  5. Right-click your Solution, and select Rebuild 右键单击您的解决方案,然后选择“重建”
  6. Select your project, and click the Refresh button at the top of Solution Explorer. 选择您的项目,然后单击解决方案资源管理器顶部的“刷新”按钮。

I had the same problem, in my case I had only the 10586 SDK. 我遇到了同样的问题,就我而言,我只有10586 SDK。
Template 10 use both 10240 and 10586 SDK (if you want), I always check the 10586 SDK option, however I think that this is broken so I can fix it if I do this: 模板10同时使用10240和10586 SDK(如果需要),我总是检查10586 SDK选项,但是我认为它已损坏,因此如果执行此操作,可以对其进行修复:

  1. I clean the project 我清理项目
  2. I go to Project Properties => Application => minimum version and select 10240. 我转到项目属性=>应用程序=>最低版本,然后选择10240。
  3. I implement the project. 我执行该项目。 You will see that some references have been added. 您将看到已添加了一些参考。
  4. I go to Project Properties => Application => minium version and select 10586 我转到项目属性=>应用程序=>最低版本,然后选择10586
  5. I build and run the project 我建立并执行专案

I hope this can help you 希望对您有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM