Skip to content

The changes must not overlap. (Parameter 'changes') #9197

@shafi-hossain

Description

@shafi-hossain

Type: Bug

Issue Description

Steps to Reproduce

Expected Behavior

Actual Behavior

Extension version: 2.130.5
VS Code version: Code 1.116.0 (560a9dba96f961efea7b1612916f89e5d5d4d679, 2026-04-15T00:28:13Z)
OS version: Windows_NT x64 10.0.26200
Modes:

Logs

C# log

Details
2026-04-16 10:17:46.754 [info] Locating .NET runtime version 10.0.5
2026-04-16 10:17:47.731 [info] Did not find .NET 10.0.5 on path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime
2026-04-16 10:17:47.917 [info] Dotnet path: c:\Users\BJIT\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\10.0.2~x64~aspnetcore\dotnet.exe
2026-04-16 10:17:47.917 [info] Activating C# + C# Dev Kit...
2026-04-16 10:17:48.401 [info] info: Program[0]
2026-04-16 10:17:48.401 [info]       Server started with process ID 25052
2026-04-16 10:17:52.592 [info] [Program] Language server initialized
2026-04-16 10:17:52.593 [info] [Program] Monitoring client process 25864 for exit
2026-04-16 10:18:03.590 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project E:\DENSAN\Densan-Gerrit\p1737_densan_pharmaceutical_inventory_system\msvweb\msvweb.csproj loaded by C# Dev Kit
2026-04-16 10:18:14.842 [error] Request textDocument/formatting failed.
  Message: The changes must not overlap. (Parameter 'changes')
  Code: -32000 
[object Object]
2026-04-16 10:19:05.064 [error] Request textDocument/formatting failed.
  Message: The changes must not overlap. (Parameter 'changes')
  Code: -32000 
[object Object]
2026-04-16 10:19:34.096 [error] Request textDocument/formatting failed.
  Message: The changes must not overlap. (Parameter 'changes')
  Code: -32000 
[object Object]

C# LSP Trace Logs log

Details

Environment Information

VSCode version: 1.116.0
C# Extension: 2.130.5
Using OmniSharp: false

Dotnet Information

Host:
Version: 10.0.2
Architecture: x64
Commit: 4452502459
RID: win-x64

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.2 [c:\Users\BJIT\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.2x64aspnetcore\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.2 [c:\Users\BJIT\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime.dotnet\10.0.2x64aspnetcore\shared\Microsoft.NETCore.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]
DOTNET_NOLOGO [true]

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
csdevkit ms-dotnettools 3.10.14 ms-dotnettools.csdevkit-3.10.14-win32-x64
csharp ms-dotnettools 2.130.5 ms-dotnettools.csharp-2.130.5-win32-x64
debugpy ms-python 2025.18.0 ms-python.debugpy-2025.18.0-win32-x64
docker docker 0.18.0 docker.docker-0.18.0-win32-x64
powershell ms-vscode 2025.4.0 ms-vscode.powershell-2025.4.0
python ms-python 2026.4.0 ms-python.python-2026.4.0-win32-x64
remote-containers ms-vscode-remote 0.447.0 ms-vscode-remote.remote-containers-0.447.0
remote-wsl ms-vscode-remote 0.104.3 ms-vscode-remote.remote-wsl-0.104.3
vscode-containers ms-azuretools 2.4.1 ms-azuretools.vscode-containers-2.4.1
vscode-docker ms-azuretools 2.0.0 ms-azuretools.vscode-docker-2.0.0
vscode-dotnet-runtime ms-dotnettools 3.0.0 ms-dotnettools.vscode-dotnet-runtime-3.0.0
vscode-pylance ms-python 2026.2.1 ms-python.vscode-pylance-2026.2.1
vscode-python-envs ms-python 1.28.0 ms-python.vscode-python-envs-1.28.0-win32-x64
vscode-speech ms-vscode 0.16.0 ms-vscode.vscode-speech-0.16.0-win32-x64
vscode-typescript-next ms-vscode 6.0.20260401 ms-vscode.vscode-typescript-next-6.0.20260401
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
CPUs Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x9b41 [Intel(R) UHD Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.2135 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8246
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
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.84GB (14.35GB free)
Process Argv --crash-reporter-id fbf62d53-8c99-420b-9237-a69687a4c8ed
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31464700
cloudbuttont:31379625
42190218_ostrepl:31403339
55ia6109:31457054
use-responses-api:31390855
ddidt:31399633
je187915:31401257
ec5jj548:31422691
cp_cls_t_966_ss:31454198
a9239246:31485761
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478677
cp_cls_c_1081:31454833
conptydll_true:31489736
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_control1:31471004
control_6dc23131:31495068
idci7584:31464702
e3e4d672:31494082
i54ji102:31458073
534a6447_copy:31478748
7ef87755:31458076
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31495047
cpptoolson-v2:31475363
i2gc6536:31494041
30450953:31494756
ghj88844:31492074
23c7c724:31491644
client_tst_t:31495907
po_split_t:31488386
ddid_c:31478207
getcmakediagnosticsoff:31489825
ja75b849:31495667
nes-perm-reb-0:31490411
cp_cls_c_1082:31491634
ihfe3146:31493006
719di409_sum_t:31495624
nes-async-ew-check-off:31491821
logging_disabled_new:31493366
j0d79568:31494311
output_1x:31495546

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions