console autodevelop
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 17h 56m
- Merged PRs (30d)
- 21
Description
Type: Bug
## Issue Description ##
## Steps to Reproduce ##
## Expected Behavior ##
## Actual Behavior ##
Extension version: 2.140.9
VS Code version: Code 1.127.0 (4fe60c8b1cdac1c4c174f2fb180d0d758272d713, 2026-06-30T10:52:33+02:00)
OS version: Windows_NT x64 10.0.26200
Modes:
### Logs ###
### C# log ###
```
2026-07-02 15:41:33.723 [info] Locating .NET runtime version 10.0.5
2026-07-02 15:41:33.897 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2026-07-02 15:41:33.898 [info] Activating C# + C# Dev Kit...
2026-07-02 15:41:34.459 [info] info: Program[0]
2026-07-02 15:41:34.459 [info] Server started with process ID 9832
2026-07-02 15:41:35.836 [info] [Program] Language server initialized
2026-07-02 15:41:35.839 [info] [Program] Monitoring client process 22056 for exit
2026-07-02 15:41:36.456 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in 'c:\Users\fabri\source\repos\ConsoleApplication autodevelop' in 17 milliseconds
2026-07-02 15:41:37.358 [info] [textDocument/diagnostic] [Microsoft.CodeAnalysis.MSBuild.BuildHostProcessManager] .NET BuildHost started from c:\Users\fabri\.vscode\extensions\ms-dotnettools.csharp-2.140.9-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe reloading to start from C:\Program Files\dotnet\dotnet.exe to match necessary SDK location.
2026-07-02 15:41:38.939 [warning] [textDocument/diagnostic] [LanguageServerProjectLoader] Le projet C:\Users\fabri\AppData\Local\Temp\roslyn-canonical-misc\ceb12168-9b9d-45d9-ad8a-b8e46ae13706\Canonical.csproj dispose de dépendances non résolues
2026-07-02 15:41:39.116 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Chargement correctement terminé de c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 15:41:39.131 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Restauration de Canonical.csproj: Exécution de dotnet restore sur C:\Users\fabri\AppData\Local\Temp\roslyn-canonical-misc\ceb12168-9b9d-45d9-ad8a-b8e46ae13706\Canonical.csproj
2026-07-02 15:41:39.132 [info] [textDocument/diagnostic] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-07-02 15:41:40.373 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Restauration de Canonical.csproj: Identification des projets à restaurer...
2026-07-02 15:41:40.874 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Restauration de Canonical.csproj: Restauration effectuée de C:\Users\fabri\AppData\Local\Temp\roslyn-canonical-misc\ceb12168-9b9d-45d9-ad8a-b8e46ae13706\Canonical.csproj (en 112 ms).
2026-07-02 15:41:40.935 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Restauration terminée
2026-07-02 15:41:40.936 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Chargement ou rechargement terminé de tous les projets dans 00:00:03.9931757
2026-07-02 15:41:41.625 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 15:41:41.626 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0055874
2026-07-02 15:43:00.505 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 15:43:00.505 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0043656
2026-07-02 15:47:41.932 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 15:47:41.932 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0046330
2026-07-02 15:47:50.084 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 15:47:50.084 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0053853
2026-07-02 15:49:10.958 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 15:49:10.958 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0080471
2026-07-02 16:22:40.762 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:22:40.762 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0126968
2026-07-02 16:24:56.159 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:24:56.159 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0036626
2026-07-02 16:25:49.600 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:25:49.601 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0053560
2026-07-02 16:29:25.074 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:29:25.074 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0041545
2026-07-02 16:30:08.816 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:30:08.816 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0087575
2026-07-02 16:31:04.528 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:31:04.528 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0054773
2026-07-02 16:33:22.378 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:33:22.379 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0033233
2026-07-02 16:33:47.226 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:33:47.226 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0044397
2026-07-02 16:34:57.580 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:34:57.580 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0075010
2026-07-02 16:35:26.811 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:35:26.811 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0055090
2026-07-02 16:36:25.364 [error] [textDocument/codeAction] [LSP] System.ArgumentException: Range={ Start={ Line=17, Character=12 }, End={ Line=17, Character=18 } }. text.Length=231. text.Lines.Count=15
---> System.ArgumentOutOfRangeException: The requested line number 17 must be less than the number of lines 15. (Parameter 'Line')
at Microsoft.CodeAnalysis.Text.TextLineCollection.GetPosition(LinePosition position) in /_/src/Compilers/Core/Portable/Text/TextLineCollection.cs:line 67
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 347
--- End of inner exception stack trace ---
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 352
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetActionSetsAsync(TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Range selection, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 389
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetVSCodeActionsAsync(CodeActionParams request, TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Boolean hasVsLspCapability, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 42
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActionsHandler.HandleRequestAsync(CodeActionParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs:line 57
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken)
2026-07-02 16:36:25.371 [error] Request textDocument/codeAction failed.
Message: Range={ Start={ Line=17, Character=12 }, End={ Line=17, Character=18 } }. text.Length=231. text.Lines.Count=15
Code: -32000
[object Object]
2026-07-02 16:36:26.350 [error] [textDocument/codeAction] [LSP] System.ArgumentException: Range={ Start={ Line=17, Character=11 }, End={ Line=17, Character=12 } }. text.Length=231. text.Lines.Count=15
---> System.ArgumentOutOfRangeException: The requested line number 17 must be less than the number of lines 15. (Parameter 'Line')
at Microsoft.CodeAnalysis.Text.TextLineCollection.GetPosition(LinePosition position) in /_/src/Compilers/Core/Portable/Text/TextLineCollection.cs:line 67
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 347
--- End of inner exception stack trace ---
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 352
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetActionSetsAsync(TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Range selection, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 389
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetVSCodeActionsAsync(CodeActionParams request, TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Boolean hasVsLspCapability, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 42
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActionsHandler.HandleRequestAsync(CodeActionParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs:line 57
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken)
2026-07-02 16:36:26.352 [error] Request textDocument/codeAction failed.
Message: Range={ Start={ Line=17, Character=11 }, End={ Line=17, Character=12 } }. text.Length=231. text.Lines.Count=15
Code: -32000
[object Object]
2026-07-02 16:36:37.849 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:36:37.849 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0093522
2026-07-02 16:36:51.496 [error] [textDocument/codeAction] [LSP] System.ArgumentException: Range={ Start={ Line=17, Character=12 }, End={ Line=17, Character=18 } }. text.Length=220. text.Lines.Count=15
---> System.ArgumentOutOfRangeException: The requested line number 17 must be less than the number of lines 15. (Parameter 'Line')
at Microsoft.CodeAnalysis.Text.TextLineCollection.GetPosition(LinePosition position) in /_/src/Compilers/Core/Portable/Text/TextLineCollection.cs:line 67
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 347
--- End of inner exception stack trace ---
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 352
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetActionSetsAsync(TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Range selection, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 389
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetVSCodeActionsAsync(CodeActionParams request, TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Boolean hasVsLspCapability, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 42
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActionsHandler.HandleRequestAsync(CodeActionParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs:line 57
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken)
2026-07-02 16:36:51.497 [error] Request textDocument/codeAction failed.
Message: Range={ Start={ Line=17, Character=12 }, End={ Line=17, Character=18 } }. text.Length=220. text.Lines.Count=15
Code: -32000
[object Object]
2026-07-02 16:36:55.347 [error] [textDocument/codeAction] [LSP] System.ArgumentException: Range={ Start={ Line=17, Character=11 }, End={ Line=17, Character=12 } }. text.Length=220. text.Lines.Count=15
---> System.ArgumentOutOfRangeException: The requested line number 17 must be less than the number of lines 15. (Parameter 'Line')
at Microsoft.CodeAnalysis.Text.TextLineCollection.GetPosition(LinePosition position) in /_/src/Compilers/Core/Portable/Text/TextLineCollection.cs:line 67
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 347
--- End of inner exception stack trace ---
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 352
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetActionSetsAsync(TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Range selection, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 389
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetVSCodeActionsAsync(CodeActionParams request, TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Boolean hasVsLspCapability, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 42
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActionsHandler.HandleRequestAsync(CodeActionParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs:line 57
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken)
2026-07-02 16:36:55.349 [error] Request textDocument/codeAction failed.
Message: Range={ Start={ Line=17, Character=11 }, End={ Line=17, Character=12 } }. text.Length=220. text.Lines.Count=15
Code: -32000
[object Object]
2026-07-02 16:37:07.048 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:37:07.049 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0037917
2026-07-02 16:37:33.975 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Successfully completed load of c:\Users\fabri\source\repos\ConsoleApplication autodevelop\ConsoleApplication autodevelop.cpp
2026-07-02 16:37:33.976 [info] [workspace/didChangeWatchedFiles] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.0038592
2026-07-02 16:39:38.103 [error] [textDocument/codeAction] [LSP] System.ArgumentException: Range={ Start={ Line=19, Character=15 }, End={ Line=19, Character=23 } }. text.Length=198. text.Lines.Count=14
---> System.ArgumentOutOfRangeException: The requested line number 19 must be less than the number of lines 14. (Parameter 'Line')
at Microsoft.CodeAnalysis.Text.TextLineCollection.GetPosition(LinePosition position) in /_/src/Compilers/Core/Portable/Text/TextLineCollection.cs:line 67
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 347
--- End of inner exception stack trace ---
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.RangeToTextSpan(Range range, SourceText text) in /_/src/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 352
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetActionSetsAsync(TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Range selection, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 389
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActions.CodeActionHelpers.GetVSCodeActionsAsync(CodeActionParams request, TextDocument document, ICodeFixService codeFixService, ICodeRefactoringService codeRefactoringService, Boolean hasVsLspCapability, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionHelpers.cs:line 42
at Microsoft.CodeAnalysis.LanguageServer.Handler.CodeActionsHandler.HandleRequestAsync(CodeActionParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/CodeActions/CodeActionsHandler.cs:line 57
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, CancellationToken cancellationToken)
2026-07-02 16:39:38.105 [error] Request textDocument/codeAction failed.
Message: Range={ Start={ Line=19, Character=15 }, End={ Line=19, Character=23 } }. text.Length=198. text.Lines.Count=14
Code: -32000
[object Object]
```
### C# LSP Trace Logs log ###
```
```
## Environment Information ##
**VSCode version**: 1.127.0
**C# Extension**: 2.140.9
**Using OmniSharp**: false
Dotnet Information
.NET SDK:
Version: 10.0.301
Commit: 96856fd726
Workload version: 10.0.300-manifests.8c7d7c03
MSBuild version: 18.6.4+96856fd72
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.301\
.NET workloads installed:
[maui-windows]
Installation Source: VS 18.7.11925.98, VS 18.8.11925.187, VS 17.14.37411.7
Manifest Version: 10.0.20/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.maui\10.0.20\WorkloadManifest.json
Install Type: Msi
[maccatalyst]
Installation Source: VS 18.7.11925.98, VS 18.8.11925.187, VS 17.14.37411.7
Manifest Version: 26.5.10284/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.maccatalyst\26.5.10284\WorkloadManifest.json
Install Type: Msi
[ios]
Installation Source: VS 18.7.11925.98, VS 18.8.11925.187, VS 17.14.37411.7
Manifest Version: 26.5.10284/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.ios\26.5.10284\WorkloadManifest.json
Install Type: Msi
[android]
Installation Source: VS 18.7.11925.98, VS 18.8.11925.187, VS 17.14.37411.7
Manifest Version: 36.1.43/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.android\36.1.43\WorkloadManifest.json
Install Type: Msi
[wasm-tools]
Installation Source: VS 18.8.11925.187
Manifest Version: 10.0.109/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.workload.mono.toolchain.current\10.0.109\WorkloadManifest.json
Install Type: Msi
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.9
Architecture: x64
Commit: 901ca94124
.NET SDKs installed:
9.0.315 [C:\Program Files\dotnet\sdk]
10.0.301 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.28 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.28 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.28 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
|Extension|Author|Version|Folder Name|
|---|---|---|---|
|cmake-tools|ms-vscode|1.23.52|ms-vscode.cmake-tools-1.23.52|
|cpp-devtools|ms-vscode|0.5.13|ms-vscode.cpp-devtools-0.5.13|
|cpptools|ms-vscode|1.33.2|ms-vscode.cpptools-1.33.2-win32-x64|
|cpptools-extension-pack|ms-vscode|1.5.1|ms-vscode.cpptools-extension-pack-1.5.1|
|cpptools-themes|ms-vscode|2.0.0|ms-vscode.cpptools-themes-2.0.0|
|csdevkit|ms-dotnettools|3.20.199|ms-dotnettools.csdevkit-3.20.199-win32-x64|
|csharp|ms-dotnettools|2.140.9|ms-dotnettools.csharp-2.140.9-win32-x64|
|remote-containers|ms-vscode-remote|0.463.0|ms-vscode-remote.remote-containers-0.463.0|
|remote-explorer|ms-vscode|0.5.0|ms-vscode.remote-explorer-0.5.0|
|remote-server|ms-vscode|1.5.3|ms-vscode.remote-server-1.5.3|
|vscode-dotnet-runtime|ms-dotnettools|3.1.0|ms-dotnettools.vscode-dotnet-runtime-3.1.0|;
C# Settings
|Setting|Value|
|---|---|
|preferCSharpExtension|false|
|compilerDiagnosticScope|openFiles|
|analyzerDiagnosticScope|openFiles|
|enableXamlTools|true|
|useServerGC|true|;
System Info
|Item|Value|
|---|---|
|CPUs|12th Gen Intel(R) Core(TM) i3-1215U (8 x 2496)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x46b3 [Intel(R) UHD Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.4255 *ACTIVE*
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8737
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|7.69GB (1.29GB free)|
|Process Argv|--crash-reporter-id 86a337ba-46e0-41f8-a31e-63e01b1ff489|
|Screen Reader|no|
|VM|0%|
A/B Experiments
```
vsliv368cf:30146710
vswsl492:30256859
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
82j33506:31327384
6abeh943:31336334
envsactivate1:31538736
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
b1ei0813:31506238
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
2cfga817_c:31522397
jh5f2457_c:31540921
8hfba999:31537718
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_c_nes:31533503
jf4hg949:31526829
nes-curr-leftover-1500:31538366
h561g132:31533256
sessions_5:31532894
h7dd7680:31543284
ihg5j128:31534457
9gg7f176:31542112
nes-ex-cf-euporie-03:31542868
```
Contributor guide
Research direction
Start by reproducing the textDocument/codeAction failure in the reported ConsoleApplication autodevelop workspace, using the logged invalid range. Read ProtocolConversions.RangeToTextSpan and the CodeActionsHandler path named in the stack trace. Done when requesting code actions no longer produces the out-of-range exception for this scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100