[英]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.