问题描述
我最近安装了VS Community 2017,但在尝试启动IDE时,我收到一条消息,说明Microsoft Visual Studio 2017已停止工作。我已经尝试修复安装和卸载并重新安装,但似乎没有任何工作。还有什么其他的
我可以尝试解决这个问题吗?
I recently installed VS Community 2017, but when trying to start the IDE, I get a message saying Microsoft Visual Studio 2017 has stopped working. I've tried repairing the installation and uninstalling and reinstalling, but nothing seems to work. What else can I try to fix this?
从事件查看器:
谢谢!
-A
推荐答案
谢谢您在MSDN论坛上发帖。
Thank you for posting in MSDN forum.
事件查看器无法显示VS安装失败的根本原因。
The Event Viewer can't show the root cause about VS installation failure.
你的操作系统是Win 7对吗?首先,请参阅:
Your OS is Win 7 right? First of all, please see:
Windows 7 SP1(最新Windows更新):Home Premium,Professional,Enterprise,Ultimate
Windows 7 SP1 (with latest Windows Updates): Home Premium, Professional, Enterprise, Ultimate
检查Windows更新并确保所有补丁都已启动,暂时禁用所有AVG软件和Windows防御者,删除安装失败的现有VS 2017,如下所示:
Check Windows update and ensure all the patches up, temporarily disable all the AVG software and windows defender, remove the existing VS 2017 that install failed before as below:
1。转到控制面板 - 程序和功能,如果有"Microsoft Visual Studio 2017",右键单击它并选择"卸载"
1. Go to Control Panel—Programs and Features, if there has ‘Microsoft Visual Studio 2017’, right click it and choose ‘Uninstall’
2。尝试删除以下已安装的文件夹:(您可以在进行任何修改之前备份这些文件夹,以防我们需要回滚)
2. Try to delete the following installed folders: (you can back up those folders before any modification, in case we need to roll back)
3. 转到文件夹: %ProgramData%\ Microsoft /\\VisualStudio
并删除'套餐'文件夹和'设置'
文件夹,如果有的话。
3. Go to the folder: %ProgramData%\Microsoft\VisualStudio and delete the ‘Packages’ folder and ‘Setup’ folder if there has.
4。转到Visual Studio安装文件夹(通常在 %ProgramFiles(x86)%\ Microsoft Visual Studio 下)并删除文件夹'2017'
4. Go to the Visual Studio installation folder (normally under %ProgramFiles(x86)%\Microsoft Visual Studio) and delete the folder ‘2017’
之后,确保Windows更新是最新的,清理%temp%文件夹
After that, make sure windows update is up-to-date, clean up the %temp% folder
运行VS 2017年 安装程序以管理员身份查看一切是否正常。
run the VS 2017 installer as administrator to see if everything works fine.
最好的问候,
这篇关于全新安装的Microsoft Visual Studio 2017已停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!