Xaml设计器出现问题 [英] Problem with the Xaml designer

查看:92
本文介绍了Xaml设计器出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

xaml设计师面临一个奇怪的问题.设计器中的控件没有出现,背景也没有完全显示,当我将鼠标悬停在按钮或任何其他对象上时,边框仅突出显示.在调试Windows时 在应用商店中,按钮和其他对象根本不会出现,直到我将鼠标放在它们上面. vs或我的显示驱动程序有问题吗?我很担心. 

I've been facing a strange problem with the xaml designer. The controls in the designer don't appear, the background doesn't appear fully and when i hover the mouse over a button or any other object only the border is highlighted. While debugging a windows store app, the buttons and other objects don't appear at all until i put the mouse over them. Is this a problem with vs or my display driver. I'm worried. 

推荐答案

所有Windows商店应用程序是否都存在此类问题?您可以以Admin身份重新启动VS,创建一个新的简单Windows Store应用程序,将控件添加到xaml设计器中,然后调试该应用程序以检查结果吗?如果将发生相同的问题,则可能有任何问题 您的VS错误.您可以尝试以下命令行进行修复:

Whether all windows store app had such issue? Could you restart VS as Admin, create a new and simple Windows Store app, add a control into the xaml designer and then debug the app to check the result? If the same issue will occur, maybe there is anything wrong with your VS. You can try the following command line to fix:

1.devenv.exe  /safemode

2.devenv.exe  /resetskippkgs

3.devenv.exe  /resetsettings

4.devenv.exe  /resetuserdata 

devenv.exe可以位于VS位置/Common7/IDE下

devenv.exe can be located under your VS location/Common7/IDE

您需要的是将其放入运行提示并向其中添加命令.

请注意,某些防病毒软件有时会影响VS,如果在使用VS时它们正在运行,请尝试将其禁用.

如果没有帮助,我建议修复或重新安装VS.

如果仅在特定项目中解决了该问题,则可能是该项目已损坏.请重新创建一个简单的项目.

If the issue only corrured within the specific project, maybe the project is currupted. Please re-create a simplar project.

最好的问候,


这篇关于Xaml设计器出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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