Search code examples
javascriptvisual-studio-2015projects-and-solutions

Import existing javascript site into VS 2015


I have an existing JS web page (using bower, gulp, and algular) that I want to work on in visual studio.

It is set up according to a different folder structure than the one that VS 2015 uses for ASP.NET projects, and I will only be working on the frontend (and there is no ASP.NET on the backend anyway).

Is there a way to import such a thing and develop in VS?

Ideally, I would like to keep all of the conveniences that VS offers for the ASP.NET projects (add bower dependencies via gui, folders for npm, debugger, ability to launch project as website and use the debugger, etc).

Is this possible, and if so how?


Solution

    1. create a empty asp.net 5 project
    2. copy the existing folders into the project folder
    3. include the copied folders into the project

    I believe the npm, bower json files must be in the root folder to be supported automatically by visual studio 2015.

    Also front-end debugging is best done in your favorite browser.