Reputation: 105
I need to import loaded Cordova project to VS2015 with Cordova Tools. Simply loading files to www folder, and replacing config.xml dont work. Any ideas?
Upvotes: 0
Views: 316
Reputation: 1742
try this:
create new Project in vs2015
build the Project to make sure there is no problem with your vs2015 installation.
copy content from old index.html to new index.html
copy everything related, e.g. images, html files (if you are not using SPA), js files, css files, under the www directory, but do not copy any api.
open config.xml in vs2015 by double click(do not use view code to open), add all related api.
build the Project again.
it should work now unless some Api are not compatible with vs2015.
Upvotes: 2