1
votes

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?

1
Hi @Lentyai - I work on the Tools for Apache Cordova in Visual Studio at Microsoft. I'd like to investigate this issue further. The first step is looking at your setup logs. Could you run aka.ms/vscollect and upload the logs somewhere for my team to investigate? (note: the tool will save a file called vslogs.zip and place it in your %temp% directory)Michael Braude
@Michael hi, thanks for your assistance! Here's the link to the full thread of logs. Let me know whether it helped identify the problem. I've tried to uninstall and re-install VS2015, uninstall all Visual Studio versions I had on my machine and then re-install VS2013 with Cordova tools and then installing VS2015 again. Unfortunately, nothing helped. The outcome is the same as in the original question I posted.Lentyai
Thanks! I'll have my team look at these logs. Hopefully they will help. I'll get back to you shortly.Michael Braude
Thanks for sharing your logs. We're still looking over them. The steps I gave in my answer have worked for other customers, so hopefully they'll work for you too.Michael Braude

1 Answers

0
votes

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)