Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code With ASP.NET MVC Project

I just downloaded Visual Studio Code and try for a couple hours as common editor, and it works really amazing. But when I want to open my currently running ASP.Net MVC Project, it doesn't detect the project as working project, that I can't use the InteliSense provided for C#.

Can I open the ASP.Net MVC Project that created from Visual Studio? If can, then what should I do in order to achieve this?

like image 466
Septu Jamasoka Avatar asked May 05 '15 10:05

Septu Jamasoka


2 Answers

open folder rather than just file and it will work

like image 78
aakash jalodkar Avatar answered Oct 30 '22 08:10

aakash jalodkar


Basically VSCode supports two project systems:

  1. DNX projects with project.json and global.json files and
  2. MSBuild projects.

The support for the latter is a bigger challenge and not yet perfect. If you have a sln and csproj files VSCode should detect that and start. Can you check the flame in the lower left if OmniSharp has started and can you check the log (Ctrl+L,L) for messages?

like image 36
Johannes Rieken Avatar answered Oct 30 '22 08:10

Johannes Rieken