Describe the Issue
After updating C# Dev Kit, the editor top-right run button / “Run project associated with this file” no longer works on Linux.
Clicking it does nothing: no visible error, no DevTools console error, and no useful output in the C# Dev Kit, C#, Projects, or Extension Host output panels.
This reproduces even in a fresh dotnet new console project, so it does not appear to be caused by my actual project.
Downgrading C# Dev Kit to 3.10.12 restores the expected behavior. The issue reproduces with C# Dev Kit 3.20.197 and 3.20.199.
Steps To Reproduce
-
Install C# Dev Kit 3.20.197 or 3.20.199 on Linux.
-
Create a fresh console project:
dotnet new console -o DevKitButtonProbe
code -n DevKitButtonProbe
-
Open Program.cs.
-
Wait for C# Dev Kit / the project system to finish loading.
-
Click the editor top-right play button dropdown.
-
Select “Run project associated with this file”.
Expected:
The console project runs.
Actual:
Nothing happens. No visible error appears.
I also reproduced this in a real mixed CMake + .NET workspace. Downgrading only C# Dev Kit to 3.10.12 makes the same run-button workflow work again.
Expected Behavior
Clicking “Run project associated with this file” should run the console project associated with the currently open Program.cs file, the same way it does in C# Dev Kit 3.10.12.
Environment Information
OS:
VS Code:
- Currently tested with VS Code 1.122.1
- I also originally reproduced this on VS Code 1.106.2 before updating VS Code.
Extensions tested:
- C# Dev Kit 3.20.199: broken
- C# Dev Kit 3.20.197: broken
- C# Dev Kit 3.10.12: works
- C# extension 2.140.8
- .NET Runtime Install Tool 3.0.2
.NET:
- .NET SDK 10.0.104
- MSBuild 18.0.11
Describe the Issue
After updating C# Dev Kit, the editor top-right run button / “Run project associated with this file” no longer works on Linux.
Clicking it does nothing: no visible error, no DevTools console error, and no useful output in the C# Dev Kit, C#, Projects, or Extension Host output panels.
This reproduces even in a fresh
dotnet new consoleproject, so it does not appear to be caused by my actual project.Downgrading C# Dev Kit to 3.10.12 restores the expected behavior. The issue reproduces with C# Dev Kit 3.20.197 and 3.20.199.
Steps To Reproduce
Install C# Dev Kit 3.20.197 or 3.20.199 on Linux.
Create a fresh console project:
dotnet new console -o DevKitButtonProbe
code -n DevKitButtonProbe
Open Program.cs.
Wait for C# Dev Kit / the project system to finish loading.
Click the editor top-right play button dropdown.
Select “Run project associated with this file”.
Expected:
The console project runs.
Actual:
Nothing happens. No visible error appears.
I also reproduced this in a real mixed CMake + .NET workspace. Downgrading only C# Dev Kit to 3.10.12 makes the same run-button workflow work again.
Expected Behavior
Clicking “Run project associated with this file” should run the console project associated with the currently open Program.cs file, the same way it does in C# Dev Kit 3.10.12.
Environment Information
OS:
VS Code:
Extensions tested:
.NET: