简体   繁体   中英

Switching Between VS Code and VS 2015

I am a single developer starting out on an ASP.Net Core MVC project with Angular 2. I used the Steve Sanderson template VS Angular 2 Template which works well in Visual Studio 2015. Up until now I have been developing the structure, and my understanding, of ASP.Net Core, Entity Framework Core, Identity, WebPack, NPM etc. and working in VS 2015 has been great.

Now I am moving on to learning and developing the client side of the project which in places will involve Angular 2. Already I am finding VS 2015 a bit clumsy and would like to try Visual Studio Code.

Is it possible to switch between the two on the same project? It would be great to be able to develop Angular components in VS Code and switch back to VS 2015 for any C# work. Writing code in VS Code I imagine would be fine, but what about the debugging/webpack building side of things?

Any experience or suggestions very welcome. Thanks.

I've successfully setup my Visual Studio 2015+ ASP.NET project on VSCode.

I've created an gulpfile that handle the build for me:

  1. It starts an IISExpress instance.
  2. Refresh my browser on razor code change.
  3. And automatically rebuild my application when I change C# code.

You can find the gulpfile on my project's Github

Important note if you are going to switch between VSCode and Visual Studio: When you want to create a new file, I strongly suggest you to do it in Visual Studio.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM