I just installed both Visual studio 2015 and visual studio cordova tools. It wrked fine and i was able to create a project with it.
I then installed ionic cli, and suddenly i am getting the error
SetSite failed for package [ApacheCordovaToolsPackage]
I have tried repairing Visual studio and cordova tools to no avail. Any help?
The steps in this MSDN forum post worked for me. Reproducing for Googleability:
(I found my
vs_enterprise.exe
atC:\ProgramData\Package Cache\{a60a492e-b5eb-4218-a9e6-f38d18a7dbaf}\vs_enterprise.exe
)CD into that path, e.g.,
Execute the installer with the options
/modify /installselectableitems Javascript
, e.g.,Then:
The solution in Error adb.exe when running Visual Studio 2015 RC worked for me. In short:
Delete this folder: C:\Users[username]\appdata\local\microsoft\VisualStudio\14.0\ComponentModelCache
Then open a new project get the folder rebuild by VS.