C#C
C#13mo ago
30 replies
Kauan

C# Dev Kit Extension Syntax Highlighting and Autocomplete Not Working After Updating to .NET 9

Hi everyone,

After updating to .NET 9, I noticed that the C# Dev Kit extension in VS Code is no longer providing syntax highlighting or autocomplete functionality.

I tried configuring the dotnetAcquisitionExtension.existingDotnetPath in my settings like this:
"dotnetAcquisitionExtension.existingDotnetPath": [
    {
      "extensionId": "ms-dotnettools.csharp",
      "path": "/home/kauan/.asdf/shims/dotnet"
    },
    {
      "extensionId": "ms-dotnettools.csdevkit",
      "path": "/home/kauan/.asdf/shims/dotnet"
    }
  ]

Unfortunately, this didn’t solve the issue.
image.png
image.png
image.png
image.png
Was this page helpful?