Vscode, use c# extension with docker dotnet

Fabrizio Stellato 1 Reputation point

Is it possible to use vs code c# extension in conjunction with docker dotnet image ?
I don't want to install dotnet SDK locally nor visual studio.

A cross-platform toolchain for developing, building, running, and publishing .NET applications.
315 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,981 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,841 Reputation points

    You can use C# with VS code by installing this extension https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp

    There is also a docker extension for vs code

    1 person found this answer helpful.
    0 comments No comments

  2. Lex Li (Microsoft) 4,247 Reputation points Microsoft Employee

    If you rather use a Docker container to host the developer bits, you can use VSCode Remote to connect to that container,


    That does not only work for .NET, but also Python and others.

    1 person found this answer helpful.
    0 comments No comments