简体   繁体   中英

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. 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.

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.

The folder of the project in the file system does contain all the files. They are just not reflected by Visual Studio.

Screenshot of new Apache Cordova project in VS2015 Update 1 RC

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. 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. To do this, delete this folder in Windows Explorer and restart 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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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