简体   繁体   English

无法在Visual Studio 2015社区RTM中创建/打开C ++项目

[英]Unable to create/open C++ project in Visual Studio 2015 Community RTM

Before installation of RTM version of VS2015 Community Edition I had uninstalled VS2015 Enterprise CTP6 (including applications from "second installer"). 在安装VS2015 Community Edition的RTM版本之前,我已经卸载了VS2015 Enterprise CTP6(包括“第二个安装程序”中的应用程序)。 There wasn't any problem during installation, but now I'm unable to create/open any C++ project. 安装期间没有任何问题,但是现在我无法创建/打开任何C ++项目。 I receive following error message: 我收到以下错误消息:

C:\\Users\\Piotrek\\Documents\\Visual Studio 14\\Projects\\Tests\\Tests\\Tests.vcxproj : error : Method not found: 'System.Threading.Tasks.Task Microsoft.VisualStudio.Project.IVsUnconfiguredProjectTypeGuidSetter.SetActiveProjectConfigurationAsync(Microsoft.VisualStudio.ProjectSystem.ProjectConfiguration, Microsoft.VisualStudio.ProjectSystem.ProjectConfiguration)'. C:\\ Users \\ Piotrek \\ Documents \\ Visual Studio 14 \\ Projects \\ Tests \\ Tests \\ Tests.vcxproj:错误:找不到方法:'System.Threading.Tasks.Task Microsoft.VisualStudio.Project.IVsUnconfiguredProjectTypeGuidSetter.SetActiveProjectConfigurationAsync(Microsoft.VisualStudio .ProjectSystem.ProjectConfiguration,Microsoft.VisualStudio.ProjectSystem.ProjectConfiguration)”。

I tried to reinstall all related to any VS version stuff, but the problem remains. 我试图重新安装所有与VS版本有关的东西,但问题仍然存在。 Unfortunately, Google knows nothing about SetActiveProjectConfigurationAsync and now I'm stuck. 不幸的是,Google对SetActiveProjectConfigurationAsync一无所知,现在我陷入了困境。 Any suggestions? 有什么建议么?

Check if the Microsoft.VisualStudio.ProjectSystem.v14only.dll assembly is in your GAC (you'll see a similarly-named folder under C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL if it is). 检查Microsoft.VisualStudio.ProjectSystem.v14only.dll程序集是否在GAC中(如果位于C:\\ Windows \\ Microsoft.NET \\ assembly \\ GAC_MSIL下,您将看到一个名称类似的文件夹)。 It shouldn't be there. 它不应该在那里。 But perhaps you have an old version of that assembly in your GAC. 但是也许您的GAC中有该程序集的旧版本。 If you see any folders in your GAC starting with Microsoft.VisualStudio.ProjectSystem.* , move them to a temporary folder and see if it fixes your problem. 如果您在GAC中看到任何以Microsoft.VisualStudio.ProjectSystem.*开头的文件夹,请将它们移到一个临时文件夹中,看看是否可以解决您的问题。 If it does, delete your temporary folder. 如果是这样,请删除您的临时文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Visual Studio Community 2015 上打开输入文件、C++? - How to open input file, C++ on visual studio community 2015? 如何在“ Microsoft Visual Studio Community 2015”的现有“ C ++项目”中创建新的“头文件(.h)”? - How do I create a new “header file (.h)” in an existing “C++ Project” in “Microsoft Visual Studio Community 2015”? Visual Studio 2015 社区 - “Visual C++ 项目系统包”错误 - Visual Studio 2015 Community - 'Visual C++ Project System Package' error Visual Studio Community 2015 安装 (Visual C++) - Visual Studio Community 2015 Installation (Visual C++) Visual Studio 2015社区命令行生成C ++项目不起作用 - Visual Studio 2015 Community command line build C++ project does not work 单击确定后,Visual Studio 2015社区c ++新项目窗口消失 - visual studio 2015 community c++ new project window disappears after clicking OK 为什么Visual Studio Community 2015中的C ++项目只包含通用应用程序? - How come C++ project in Visual Studio Community 2015 only contain Universal Apps? 如何在Visual Studio Community 2015中创建“ ATL项目”? - How to create an “ATL Project” in Visual Studio Community 2015? 在C ++ Visual Studio 2015社区中获取本地时间 - Get the Local Time in C++ Visual Studio 2015 Community 部署应用程序,C ++,Visual Studio 2015社区版本 - Deploy app, C++, Visual Studio 2015 community version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM