Visual Studio 2015 无法创建和编辑 C++ 项目 [英] Visual Studio 2015 failed to create and edit c++ projects

查看:106
本文介绍了Visual Studio 2015 无法创建和编辑 C++ 项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 2015 Community Edition 中使用 C++ 项目时遇到问题.

I have a trouble with C++ projects in Visual Studio 2015 Community Edition.

首先,我无法创建新的 C++ 项目(简单的控制台应用程序).当我单击新建项目"向导中的确定"按钮时,窗口会隐藏并再次显示.(什么都没发生)

First of all I cannot create new c++ project (simple console application). When I click on "OK" button in "New Project" wizard the window hide and show up again. (Nothing happened)

第二个问题.当我打开现有项目并尝试编辑 C++ 设置时,我只看到配置属性".

Second problem. When I open existing project and try to edit C++ setting I only see "Configuration Properties".

我已经在 VS2015 安装程序中尝试过修复",但没有帮助.有人可以帮我吗?

I've already tried "Repair" in VS2015 intaller and it doesn't help. Can anyone help me?

推荐答案

据官网介绍,这是一些 VS 更新的丑陋和奇怪的错误:

According the official site, this is a ugly and strange bug of some VS updates:

https://msdn.microsoft.com/en-us/vs-knownissues/vs2015-update3

在某些情况下,对 VS 2015 应用更新可能会导致 Visual C++ 的可选功能选择(例如 Visual C++ 2015 的通用工具)被取消选择和卸载.可以通过在 Visual Studio 2015 设置对话框中重新选择所需的 Visual C++ 功能来解决此问题.

In some cases, applying Updates to VS 2015 can cause the optional feature selections for Visual C++ (e.g. Common Tools for Visual C++ 2015) to become deselected and uninstalled. This issue can be resolved by re-selecting the required Visual C++ features in the Visual Studio 2015 setup dialog.

  1. 在程序和功能"(添加/删除程序)中,选择Microsoft Visual Studio 2015",然后点击更改".
  2. 在 Visual Studio 设置对话框中,单击修改"
  3. 根据需要选择/选中Programming Languages->Visual C++->Common Tools for Visual C++ 2015"和Programming Languages->Visual C++"下的其他功能.
  4. 点击更新".

这篇关于Visual Studio 2015 无法创建和编辑 C++ 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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