问题描述
我尝试进入程序和功能并在那里修改程序.安装无误后,常用工具仍无法正确安装.
I've tried going into programs and features and modifying program there. After install without errors, common tools still does not install properly.
所有C ++项目模板都显示正常,但是当我打开一个空白的UWP Visual C ++项目时,出现关于Visual C ++ Package Server停止工作的错误.
All the C++ project templates show up fine, but when I go to open a blank UWP Visual C++ project, I get errors about Visual C++ Package Server stopped working.
不确定如何修复.
推荐答案
欢迎来到MSDN论坛.
>>安装无误后,常用工具仍无法正确安装.
要确保该功能是否成功安装, 我需要您的安装日志帮助.请用 http://aka.ms/vscollect 收集安装日志.使用它之后,您将在%temp%文件夹下找到vslogs.zip.请将文件上传到 https://onedrive.live.com/ 并在此处共享链接
To make sure the feature is installed successfully or not, I need your help to the installation log. Please usehttp://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file tohttps://onedrive.live.com/ and share the link here.
为消除加载项/包的可能性,建议您以安全模式启动Visual Studio 2015.
To eliminate the possibility of add-in/packages, I recommend you could launch your Visual Studio 2015 in safe mode.
打开一个管理CMD窗口并导航到C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE并运行以下命令: devenv/safemode (如果它有效,并且看起来是由扩展引起的此问题),或者您需要在工具-扩展和更新"下删除已安装的扩展.
Open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run the command:devenv /safemode, if it works and it looks like this issue caused by the extensions or you need to remove the installed extensions under Tools—Extensions and Updates.
我发现其他人也遇到了类似的问题,可以通过关闭智能感知来解决此问题.
请转到工具"->选项"->文本编辑器"-> C/C ++->高级"->禁用智能感知"->确定",然后退出并重新加载VS2015.
如果此问题仍然存在,我需要您的帮助来收集日志.请运行以下命令:在评估的命令提示符下 devenv/log .并将文件(%APPDATA%\ Microsoft \ VisualStudio \ Version \ ActivityLog.xml )上传到 https://onedrive.live.com/并在此处共享链接.
If this issue still persists, I need your help to gather the logs. Please run the command:devenv /log in the evaluated command prompt. And upload the file (%APPDATA%\Microsoft\VisualStudio\Version\ActivityLog.xml) tohttps://onedrive.live.com/ and share the link here.
最诚挚的问候,
Joyce
这篇关于无法安装Visual Studio功能"Visual C ++ 2015的常用工具";在Visual Studio 2015企业版中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!