MarioAraya
MarioAraya

Reputation: 336

Can I compile and run a .NET MVC 5 project from Visual Studio Code?

This is in case I got a VisualStudio2015 project and want a quick code modification and compilation. This will be really useful here where I work, we got slow PC machines and VS2015 loads at turtle speed.

thanks for your tips. :D

Upvotes: 3

Views: 3347

Answers (1)

Greg
Greg

Reputation: 11478

No, you can't. Visual Studio Code is simply an editor. You would need to invoke the .Net Compiler via the command-line tools. More information about those tools can be found on the Visual Studio Code web-site.

You would need to open the command line, point to the application directory, then do:

dotnet run
dotnet build

Please keep in mind those commands won't work until you install all the required .Net binaries, for your platform.

Upvotes: 5

Related Questions