简体   繁体   English

Visual Studio 2015更新1 RC Apache Cordova 4没有项目文件

[英]Visual Studio 2015 Update 1 RC Apache Cordova 4 no project files

I'm experiencing a very weird behavior after updating my Visual Studio 2015 with Visual Studio 2015 Update 1 RC. 在使用Visual Studio 2015 Update 1 RC更新我的Visual Studio 2015之后,我遇到了一个非常奇怪的行为。 As part of the update it updates the Apache Cordova to Update 4 and after installation all project files for the Tools of Apache Cordova project are missing. 作为更新的一部分,它将Apache Cordova更新为Update 4,并且在安装后缺少Apache Cordova项目工具的所有项目文件。

Just for an example I created an empty project of Tools for Apache Cordova and the only folder I see is Dependencies with empty Bower and NPM folders. 仅作为示例,我为Apache Cordova创建了一个Tools的空项目,并且我看到的唯一文件夹是Dependers,其中Bower和NPM文件夹为空。

The folder of the project in the file system does contain all the files. 文件系统中项目的文件夹确实包含所有文件。 They are just not reflected by Visual Studio. 它们只是不被Visual Studio反映。

Screenshot of new Apache Cordova project in VS2015 Update 1 RC VS2015 Update 1 RC中新Apache Cordova项目的屏幕截图

BTW, the same happens for my existing project. 顺便说一句,我现有的项目也是如此。

I tried to uninstall VS2015 completely, install the regular VS2015 and then install the Update 1 on top of it again. 我试图完全卸载VS2015,安装常规的VS2015,然后在其顶部再次安装Update 1。 The same result. 相同的结果。

Has anyone experienced such a behavior? 有没有人经历过这种行为? How can this be fixed? 如何解决?

The problem is that your MEF cache is corrupted and needs to be reset. 问题是您的MEF缓存已损坏,需要重置。 To do this, delete this folder in Windows Explorer and restart VS: 为此,请在Windows资源管理器中删除此文件夹,然后重新启动VS:

%localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache

We are still not sure how to get into this state but we've had customers resolve the problem in the past by deleting this folder. 我们仍然不确定如何进入这种状态,但是过去我们已经让客户通过删除此文件夹来解决此问题。 Please let me know if that fixes it for you. 请告诉我是否可以解决您的问题。 (disclosure: I work on the Tools for Apache Cordova in Visual Studio) (公开:我在Visual Studio中使用Apache Cordova工具)

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM