[UWP] [XAML] [VB] Visual Studio 2017经常锁定 [英] [UWP][XAML][VB]Visual Studio 2017 Frequently Locks Up

查看:167
本文介绍了[UWP] [XAML] [VB] Visual Studio 2017经常锁定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Visual Studio 2017时,它经常被锁定并给出设计器错误。通过"锁定"我的意思是它不会让我输入,导航(使用箭头键),或单击我的代码区域来移动光标。设计师
经常无缘无故地给出错误"出现未处理的异常"。如果我单击"单击此处重新加载设计器",它通常会在几秒钟后再次显示我的设计,但随后错误通常是
在看似随机的时间回来。当设计者提供错误时,它还会从"属性"窗口中删除所有内容。所有这些都使我的项目工作变得非常困难和令人沮丧。有什么问题,我该如何解决?谢谢。



Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

解决方案

< blockquote>

嗨Nathan,


感谢您在MSDN论坛上发帖。


从你的描述来看,似乎VS正在崩溃时间。


有两个主要方面可能导致这种情况:您的计算机环境和VS IDE受第三方扩展或加载项的影响。


请尝试按照以下步骤进行故障排除:


1。检查您的Windows更新并将其全部应用到最新版本。


2。清理%temp%文件夹。


3。关闭所有VS 2017实例。


4。以管理员身份重新运行VS 2017安装程序,然后单击"启动"旁边的图标并选择"修复"以执行修复并继续安装过程。


5. 在 devenv / safemode 中运行VS:以安全模式打开VS,如果此问题消失,则表示已安装扩展导致此问题,您可以转到Tools-Extensions和Updates-Installed,逐个删除新安装的
扩展名以查找特定扩展名。


如果问题仍然存在,请随时与我联系,我会帮助您解决更多问题。


最好的问候,


While using Visual Studio 2017, it has been frequently locking up and giving designer errors. By "locking up" I basically mean that it will not let me type, navigate (use the arrow keys), or click an area of my code to move the cursor. The designer frequently, for no reason that I can come up with, gives the error "An Unhandled Exception has occurred". If I click "Click here to reload the designer", it will usually show my design again after a few seconds, but then the error often comes back at seemingly random times. When the designer gives the error, it also removes everything from the Properties window. All these things make it very hard and frustrating to work on my Projects. What is the problem, and how can I fix it? Thanks.


Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

解决方案

Hi Nathan,

Thank you for posting in MSDN forum.

From you description, seems that the VS is crashing from time to time.

There are two main aspects that could lead to this: your computer environment and VS IDE is affected by third-party extension or add-ins.

Please try with following steps for troubleshooting:

1. Check your windows update and apply to them all to the newest.

2. Clean %temp% folder.

3. Close all the VS 2017 instances.

4. Re-run the VS 2017 installer as administrator, then click the icon besides 'Launch' and choose 'Repair' to perform a repair and continue the setup process.

5. Run VS in devenv /safemode: open VS with safe mode and if this issue is gone, which means the installed extensions caused this issue, you can go to Tools-Extensions and Updates-Installed, remove the newly installed extension one by one to find the specific one.

If the problem persists, please feel free to contact me, I will help you for more troubleshoot.

Best Regards,


这篇关于[UWP] [XAML] [VB] Visual Studio 2017经常锁定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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