vscode-csharp
vscode-csharp copied to clipboard
Official C# support for Visual Studio Code
Type: Bug ## Issue Description ## Since yesterday, codelens is ko. Seems an update triggered the problem. In the logs, current version et resolved one are different. ## Steps to...
Type: Bug ## Issue Description ## ## Steps to Reproduce ## Copilot was updating a razor file to use an API it had just written when this error appeared on...
Type: Bug ## Issue Description ## I found that when I use `Suggestion: Move type to (Type).cs`, this will cause indent changes. ## Steps to Reproduce ## 1. Create a...
### Environment Data VS Code version: 1.99.3 C# Extension version: 2.74.24 ### Steps to Reproduce 1. Attempt to declare a raw string literal anywhere by typing its opening 3 (or...
### Steps to Reproduce ```cs #if true // _ = 0; #endif ``` Without preprocessor directive & comment:  With preprocessor directive & comment: 
Type: Bug ## Issue Description ## C# codes are auto-formatted even when `csharp.format.enable` (and other formatter related settings) are disabled. The issue only occurs since version `2.69.25`, and should have...
Type: Bug Razor is reporting that a component needs a using statement, but it is already there.  Extension version: 2.82.12 VS Code version: Code - Insiders 1.101.0-insider (dfaf44141ea9deb3b4096f7cd6d24e00c147a4b1, 2025-06-11T15:35:29.777Z)...
Type: Bug ## Issue Description ## ## Steps to Reproduce ## Open workspace that contains a blazor app. Open a .razor file in the editor. ## Expected Behavior ## No...
## Issue Description ## ## Steps to Reproduce ## 1. install C# extension 2. set `omnisharp.useModernNet=true` and `dotnet.server.useOmnisharp=true` in vscode's settings.json 3. create new csharp project with `dotnet new console`...