Same issue, also resolved by removing c# dev kit...
Error Debugging in Visual Studio Code: 'ConnectionLostException' when attempting to run C# code
Visual Studio Code Version: 1.79
Operating System: Windows 11 Pro, 64-bit
Problem Description:
When attempting to debug C# code in Visual Studio Code, the following error message appears: "Your changes cannot be applied due to an unexpected error: ConnectionLostException. The 'next' operation was cancelled." This occurs both when pressing the F10 key and when clicking on 'Continue'. Until recently, everything was functioning without any problems. However, this issue suddenly emerged while coding and has persisted across different projects.
3 answers
Sort by: Most helpful
-
-
Ardhio Wibowo 0 Reputation points
2024-01-12T06:36:32.81+00:00 you don't have to remove it, try to install previous version. Debugging with C# Dev Kit 'v0.2.100' works in mine
-
Egbertn 6 Reputation points
2024-03-07T10:35:26.3266667+00:00 When will MSFT finally not release crappy releases? My productivity goes down due to bad quality of this c# dev kit.
It even caused me to not have a certain job due to VS being updated just before the interview, and all intellisense was gone.