... default.vcxproj无法打开,因为不支持其项目类型 [英] ...default.vcxproj cannot be opened because its project type is not supported
问题描述
每当我尝试使用Win32控制台应用程序模板(即使用Visual Studio Community 2015的Im)启动新项目时,都会出现以下错误.
Ive been getting the following error whenever I try to start a new project using the Win32 Console Application template, Im using Visual Studio Community 2015.
无法打开"C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ VC \ VCWizards \ default.vcxproj",因为此版本的应用程序不支持其项目类型(.vcxproj).
'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCWizards\default.vcxproj' cannot be opened because its project type (.vcxproj) is not supported by this version of the application.
要打开它,请使用支持该类型的版本
To open it, please use a version that support this type
我已经卸载并重新安装,并得到了相同的错误.
I have uninstalled and reinstalled and gotten the same error.
推荐答案
您好Zeo720,
Hi Zeo720,
Thank you for posting in MSDN forum.
>>>'C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ VC \ VCWizards \ default .vcxproj'无法打开,因为此版本的应用程序不支持其项目类型(.vcxproj)
根据此错误消息,您的计算机上似乎未正确安装VC ++模板,
From this error message, it seems that VC++ templates are not installed well on your machine,
请打开Windows资源管理器,然后导航到< Visual Studio安装路径> \ Common7 \ IDE(默认为C:\ Program 文件\ Microsoft Visual Studio 14.0 \ Common7 \ IDE);
Please open Windows Explorer, and navigate to <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 14.0\Common7\IDE);
1.删除 ItemTemplatesCache , ProjectTemplatesCache 文件夹;
1.Delete the ItemTemplatesCache, ProjectTemplatesCache folder;
2.Open Visual Studio命令提示符在开始"菜单下->所有程序-> Microsoft Visual Studio 2015-> Visual Studio工具(以管理员"特权运行它:右键单击该程序->以管理员身份运行);
2.Open Visual Studio Command Prompt under Start menu -> All Programs -> Microsoft Visual Studio 2015 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
3.运行 devenv/InstallVSTemplates 开关;
3.Run the devenv /InstallVSTemplates switch;
4.运行 devenv/设置开关
4.Run the devenv /Setup switch
https://social.msdn.microsoft.com/Forums/zh-CN/vssetup/threads
Please also note that the forum for VS installation and setup issues is here: https://social.msdn.microsoft.com/Forums/en-US/vssetup/threads
span>
最好的问候, span>
Best Regards,
文旭
Wen Xu
这篇关于... default.vcxproj无法打开,因为不支持其项目类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!