无法在Visual Studio 2015中创建新的C ++控制台(或win32)项目 [英] Can't create new C++ console (or win32) project in Visual Studio 2015

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

问题描述

我从MSDN安装了VS 2015更新3。但是每当我尝试创建一个新的C ++控制台或Win32项目时,当我按下"确定"按钮时,会再次弹出"创建新项目"窗口,而不是创建解决方案。

I installed VS 2015 update 3 from MSDN. But whenever I try to create a new C++ console or Win32 project, the 'create new project' window pops up again as I hit the 'OK' button, instead of creating the solution.

我甚至修理了VS,希望它会没事,但经过6个小时的修复程序,它仍然是一样的。但是,我可以打开项目解决方案。

I even repaired the VS hoping that it'll be fine but after like 6 hours of the repair procedure, it's still the same. I can, however, open the project solutions.

请帮助我。 

Please assist me in this. 

谢谢

推荐答案

嗨Tarunn,

欢迎来到MSDN论坛。

在安装VS 2015更新3期间,您是否遇到任何安装错误或警告?

>>但每当我尝试创建一个新的C ++控制台或Win32项目时,当我点击"确定"按钮时,会再次弹出"创建新项目"窗口,而不是创建解决方案。

请尝试创建其他C#或VB项目,看看是否仍然出现此问题。我发现一些旧的线程与你的问题类似,这是由IE8引起的。你现在的IE浏览器是什么?如果是IE8,
,请查看
这个类似的问题
并重新安装IE8或修改注册表(首先备份它)。

Please try to create other C# or VB project and see if this issue still happens or not. I found some old threads that have the similar issue like yours, that is caused by the IE8. What’s your current IE browser? If it is IE8, please have a look at this similar issue and reinstall IE8 or modify the registry table(backup it firstly).

如果没有,请有一个尝试使用以下方法解决此问题:


  1. 打开管理CMD窗口并导航到C:\Program Files(x86)\ Microsoft Visual Studio 14.0 \Common7 \IDE并按如下所示运行这些命令,然后打开VS并查看是否会出现同样的问题。

    • devenv / resetuserdata:清理用户数据
    • devenv / resetsettings:恢复IDE的默认设置,optio nally重置为指定的VSSettings文件。
    • devenv / ResetAddin:删除与指定加载项关联的命令和命令UI。
    • devenv.exe / ResetSkipPkgs:清除添加到VSPackages的所有SkipLoading标记。
  1. Open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run these commands as below, then open VS and see if the same issue will occur or not.
    • devenv /resetuserdata: clean up the user data
    • devenv /resetsettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.
    • devenv /ResetAddin: Removes commands and command UI associated with the specified Add-in.
    • devenv.exe /ResetSkipPkgs: Clears all SkipLoading tags added to VSPackages.

如果此问题仍然存在,我需要您的帮助来收集VS安装和运行时日志,请运行命令:
devenv / log 。并上传文件(%APPDATA%\ Microsoft /\\VisualStudio \Version \ ActivityLog.xml
https://onedrive.live.com/ 并在此处分享链接。

If this issue persists, I need your help to collect the VS installation and runtime logs, please run the command: devenv /log in the evaluated command prompt. And upload the file (%APPDATA%\Microsoft\VisualStudio\Version\ActivityLog.xml) to https://onedrive.live.com/ and share the link here.

祝你好运,

Sara


这篇关于无法在Visual Studio 2015中创建新的C ++控制台(或win32)项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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