为什么我的Visual Studio自动关闭而没有任何错误 [英] Why does my visual studio closes automatically without any errors

查看:112
本文介绍了为什么我的Visual Studio自动关闭而没有任何错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是Visual Studio Pro 2019的最新版本
,我的桌面上有一个名为.vs
的新文件夹在此处输入图片描述

it is the latest version of visual studio pro 2019 and there is new folder on my desktop named .vs enter image description here

,桌面文件夹包含名为v16的文件夹,并且包含名为.suo
的文件在此处输入图片描述

and the desktop folder contains a folder named v16 and it contains a file named .suo enter image description here

可以因为 CloneSpy在使用Visual Studio之前在今天之前安装的软件?
我该怎么办?

Can it be because of the "CloneSpy" that i installed before today before using visual studio? And what should i do?

推荐答案

您可以删除 .vs 文件夹没有问题,因为它包含临时文件,用户缓存数据和其他一些东西,例如使用网络浏览器。 .suo和.user文件是相同的。

You can delete the .vs folder without problem because it contains temporary files, user cache data and some others things like with a net browser. It is the same with .suo and .user files.

您可以尝试卸载并重新安装Visual Studio以及使用清理工具:

You can try to uninstall and reinstall Visual Studio as well as use the Cleanup Tool :

https://docs.microsoft.com/visualstudio/install/remove-visual -studio

docs.microsoft.com/visualstudio/install/remove-visual-studio。

docs.microsoft.com/visualstudio/install/remove-visual-studio.

您还应该删除所有注册表像这样的键:

You also should delete all registry keys like :

HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio

驱动器文件夹如:

c:\程序文件[& x86] \Microsoft Visual Studio [...]

c:\ProgramData\Microsoft Visual Studio\

c:\ProgramData\Microsoft\VisualStudio

c:\Users\ ... \AppData\Local\Microsoft\VisualStudio

c:\Users\ ... \AppData\Local\Microsoft\VisualStudio Services\

c:\Users\ ... \AppData\Local\Microsoft\VSApplicationInsights\

c:\Users\ ... \AppData\Local\Microsoft\VSCommon\

c: \用户\ ... \AppData\漫游amMicrosoft\VisualStudio

在那之后,您可能想要运行注册表清理程序,例如CCleaner或Yamicsoft Windows Manager。

After that, you may want to run a registry cleaner like CCleaner or Yamicsoft Windows Manager.

如果它不起作用...上一个动作是,如果找不到任何解决方法,请重新安装Windos本身。在此之前,您可以尝试使用Visual Studio 2017。

If it does not work... the last action is to reinstall Windos itself if you don't find anything to solve that. Before doing that you can try Visual Studio 2017.

这篇关于为什么我的Visual Studio自动关闭而没有任何错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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