[UWP]无法编辑Xaml页面 [英] [UWP]Can't Edit Xaml Pages

查看:76
本文介绍了[UWP]无法编辑Xaml页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在Visual Studio中打开Xaml页面进行编辑。它只是说"打开文件......"永远这样:



我升级到最新的UWP工具(1.2 - VS Update 1),认为这可以修复它,但事实并非如此。


我被困住了。我该怎么办?


注意:我已经无数次卸载并重新安装了VS 2015.

解决方案

这会解决您的问题吗?根据  这个
StackOverflow线程
,如果您安装了Windows 10(全新安装+开发人员模式)+ VS 2015 + Update 1 + Ultimate
SDK Build 10586,默认情况下,它没有XAML设计器,甚至可以通过Shift-F7。


其中一个解决方案是设置项目属性>申请> "目标版本"到Windows
10(10.0; Build 10240),这使得Designer再次可用。



I can't open Xaml pages for editing in Visual Studio. It just says "Opening the file..." like this forever:

I upgraded to the latest UWP Tools (1.2 - VS Update 1) thinking that this would fix it, but it doesn't.

I'm stuck. What do I do?

Note: I've uninstalled and reinstalled VS 2015 countless times.

解决方案

Does this fix your problem? According to this StackOverflow thread, if you've installed Windows 10 (a fresh install + Developer mode) + VS 2015 + Update 1 + Ultimate SDK Build 10586, by default, it has no XAML designer available, even via Shift-F7.

One of the solutions found over there was to set the project Properties > Application > "Target version" to Windows 10 (10.0; Build 10240), which made the Designer available again.


这篇关于[UWP]无法编辑Xaml页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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