Entries:
Comments:
Discussions:

Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Get started with VS Code using C# and .NET Core

4 minutes, 39 seconds

Download

Right click “Save as…”

This is a quick tutorial for getting started with C# in VS Code on Windows with .NET Core!

Tags:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
    Unsubscribing
    Subscribing
  • Derrick SmtihDerrick Smtih

    Excellent introduction for VS Code with C#!

  • Very neat, to the point, and fun.  Excellent!

  • Fast and furious coding :)

    Very well !!!

  • The Wizard of OzThe Wizard of Oz

    I like this girl, I would like to watch more videos like this, and know more about VS code.

  • Very nice video! More please.

     

  • Rockstar. Please post a git/GitHub demo using VSC

  • Excellent. Please create more of those!

    Next time please spend a couple of seconds explaining in more detailing what is happening.

    e.g when you execute "dotnet restore" - what exactly is happening here? You skip a bit over the details for the sake of brevity.

  • @GammaMonkey: A git demo with VSC is a great idea. I'll put that on my list.

     

    @The Wizard of Oz: I like this wizard. Thanks for watching!

     

    *@IPowerPanda: "dotnet restore" links required build assets to you new C# project and creates the all-powerful project.json file. The project.json file is what VS Code uses to recognize that this folder has a project in it. You can get a better idea of what data it stores on your project here. Let me know if that helps. :)

    *Edit for @IPowerPanda: Actually I went back to my video and my first answer is not accurate. (Sorry!) "dotnet restore" actually creates the project.lock.json. There is an awesome explanation of this on stackoverflow here.

  • Very well! More please.

  • any support for WPF or XAML ?

     

  • Nice, thank you.

  • Very nice video!

  • @SteveRichter: If you are only concerned with windows environments, you can actually target .NET Framework in VSCode which would have XAML and WPF support. This is super useful for folks who want to quickly launch projects and don't need all the features in Visual Studio for what they are working on and just want something light-weight to work with on a windows machine. My tutorial uses .NET Core to compile and that does not support WPF nor XAML cross-platfom.

    Porting System.XAML to .NET Core is definitely a popular request! We have an open issue on GitHub that details the discussion. Basically, the community really wants it, but the team is first trying to implement a set of standard libraries in .NET Core. See out roadmap here.

    Also thanks everyone for the positive feedback! I am working on a Mac set-up tutorial next. :)

  • Hi,

    all is ok. but.

    I repeated your steps on linux (ubuntu 16.04) and found that there is no

    predefined right for c# launch,json file. may you please describe how to do it ? or may be send sample, please or send link how to learn to do such files for c# right ?

     

  • @NikolaiKekish: Looks like that I found answer.

    "If you open the folder containing your project.json, the C# extension can automatically generate these files for you. When you open a project and the C# extension is installed, you should see the following prompt in VS Code:"

    from https://github.com/gregg-miskelly/omnisharp-vscode/blob/daily-build-docs/debugger.md

     

     

Remove this comment

Remove this thread

Close

Comment on the post

Already have a Channel 9 account? Please sign in