You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The C# Dev Kit extension is activating unnecessarily when no .NET assets are present in the workspace, causing confusion and conflict for non-.NET project workspaces.
ctrlshiftb-activates.mp4
Steps To Reproduce
Install C# Dev Kit (and .NET SDK) + C++ Extension pack
Close any workspaces and reload window (to be clear of any activated extensions)
create a new text file (foo.cpp)
Open "Developer: Show Active Extensions"
OBSERVE: C#/C#DK is not active, no .NET project is open in workspace, no csproj/razor/cs files open/active
CTRL+SHIFT+B
OBSERVE: C#/C#DK suddenly get activated, output logs open up and shows events activating the language extension and retrieving razor packages if not present
Describe the Issue
The C# Dev Kit extension is activating unnecessarily when no .NET assets are present in the workspace, causing confusion and conflict for non-.NET project workspaces.
ctrlshiftb-activates.mp4
Steps To Reproduce
2024-06-26 10:04:52.276 [info] ExtensionService#_doActivateExtension vscode.grunt, startup: false, activationEvent: 'onTaskType:grunt'
2024-06-26 10:04:52.288 [info] ExtensionService#_doActivateExtension vscode.gulp, startup: false, activationEvent: 'onTaskType:gulp'
2024-06-26 10:04:52.295 [info] ExtensionService#_doActivateExtension vscode.jake, startup: false, activationEvent: 'onTaskType:jake'
2024-06-26 10:04:52.301 [info] ExtensionService#_doActivateExtension vscode.npm, startup: false, activationEvent: 'onTaskType:npm'
2024-06-26 10:04:52.338 [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onTaskType:typescript'
2024-06-26 10:04:52.424 [info] ExtensionService#_doActivateExtension ms-dotnettools.csharp, startup: false, activationEvent: 'onTaskType:dotnet', root cause: ms-dotnettools.csdevkit
2024-06-26 10:04:52.555 [info] ExtensionService#_doActivateExtension ms-vscode.cmake-tools, startup: false, activationEvent: 'onTaskType:cmake'
2024-06-26 10:04:52.924 [info] ExtensionService#_doActivateExtension ms-dotnettools.csdevkit, startup: false, activationEvent: 'onTaskType:dotnet'
Expected Behavior
C# Dev Kit should not activate in non .NET-scenarios
Environment Information
VS Code Extensions
ms-dotnettools.csdevkit: 1.8.10
ms-dotnettools.csharp: 2.35.15
The text was updated successfully, but these errors were encountered: