为什么我的视觉工作室会自动关闭而没有任何错误

Why does my visual studio closes automatically without any errors(为什么我的视觉工作室会自动关闭而没有任何错误)

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

问题描述

它是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-视觉工作室

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_USERSOFTWAREMicrosoftVisualStudio

HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio

并驱动文件夹,例如:

c:Program Files [&x86]Microsoft Visual Studio [...]

c:ProgramDataMicrosoft Visual Studio

c:ProgramDataMicrosoftVisualStudio

c:Users...AppDataLocalMicrosoftVisualStudio

c:Users...AppDataLocalMicrosoftVisualStudio Services

c:Users...AppDataLocalMicrosoftVSApplicationInsights

c:Users...AppDataLocalMicrosoftVSCommon

c:Users...AppDataRoamingMicrosoftVisualStudio

之后,您可能需要运行 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.

这篇关于为什么我的视觉工作室会自动关闭而没有任何错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:为什么我的视觉工作室会自动关闭而没有任何错误

基础教程推荐