from //build, i see the coolness of running nodejs and asp net 5 i am trying to use vscode to run some basic C# console app. how should i config the task to build and run/debug it? is there any sample?
The yeoman aspnet generator has a ConsoleApplication template that will work in VSCode.
Install ASP.NET and DNX (according to your OS see the instructions here: https://code.visualstudio.com/Docs/ASPnet5)
Install yeoman dependencies and generate a yeoman aspnet project (choose Console Application)
npm install -g yo grunt-cli generator-aspnet bower
yo aspnet
cd to your project dir you just created and:
dnu restore
Now you can open the dir in VSCode. Open the command palette (command-shift-P) and type run
EDIT: Note however that while mono-based C# debugging works in Linux and OSX, ASP.NET 5 debugging does not yet work in the preview version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With