16

Is it possible to write Visual Studio Code extensions in C# and not in TypeScript? I need this because I want to call some .NET DLLs.

Gama11
  • 31,714
  • 9
  • 78
  • 100
BendEg
  • 20,098
  • 17
  • 57
  • 131
  • **See also:** https://stackoverflow.com/questions/51917409/visual-studio-code-language-server-extension-that-written-in-python – dreftymac Feb 18 '21 at 23:04

1 Answers1

7

The short answer is no.

The long answer involves a combination of native node modules, pre building and packaging them within your extension and restricting your extension to Windows users only. More information in this issue: https://github.com/Microsoft/vscode/issues/658.

João Moreno
  • 691
  • 8
  • 17
  • 3
    Isn't Blazor can be used to run pre-compiled C# inside a browser? As far as I understand VS Code is using electron which is some kind of a browser. – Pavel Sapehin Nov 04 '20 at 06:16
  • 1
    Clearly this answer is 4 years old. C# will enter the web-client world soon, through Blazor (which, by the way, is still a bit immature). – Massimiliano Kraus Jan 14 '21 at 22:04