I am running Visual Studio 2015 under Windows 10.
I was able to successfully create and open Cordova projects, but suddenly one day I started receiving the following error message:
An equivalent project (a project with the same global properties and tools version) is already present in the project collection, with the path "{path-to-cordova-project}". To load an equivalent into this project collection, unload this project first.
When I go to modify the Visual Studio installation, I can see "HTML/JavaScript (Apache Cordova)" appearing twice in the list of features:
As you can see, there is a replaced version, and an Update 1. I have tried every combination of uninstalling/installing each of Apache Cordova (Replaced) and (Update 1), and also Tools and Windows SDK 10.0.10240. I also tried deselecting/selecting to reinstall.
I managed to get it working once for creating new projects, but when I opened a project which failed to open before, it started failing again for creation and opening, and haven't been able to get it working again.
I tried completely uninstalling VS 3 times, once using the command G:\vs_professional.exe /uninstall /force
I also tried tried renaming C:\ProgramData\Package Cache folder before installing again.
But it seems to be leaving bytes somewhere, because after reinstalling I can still see the Recent projects, and project templates downloaded before uninstalling.
I am now going to consider formatting the partition and reinstall Windows, but this is very frustrating and disappointing.
I hope someone come up with a solution for this before I proceed to format.
Thanks.
PS: I think the latest thing I installed before this started to happen was ASP.NET 5 Beta 7. But I am not sure if this was the root cause of this problem.