Debug launch fails on Windows with error 0x800700c1 if a file named `dotnet` is present
See original GitHub issueEnvironment data
dotnet --info
output:
.NET SDK (reflecting any global.json):
Version: 6.0.100
Commit: 9e8b04bbff
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19043
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.100\
Host (useful for support): Version: 6.0.0 Commit: 4822e3c3aa
.NET SDKs installed: 6.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
VS Code version: C# Extension version: v1.24.0
OmniSharp log
Starting OmniSharp server at 2/28/2022, 12:04:05 PM Target: c:\Users\Anjan Reddy\source\repos\rsi-core\Rsi.sln
OmniSharp server started with .NET 6.0.100 . Path: c:\Users\Anjan Reddy.vscode\extensions\ms-dotnettools.csharp-1.24.0.omnisharp\1.38.0-net6.0\OmniSharp.dll PID: 3004
Starting OmniSharp on Windows 10.0.19043.0 (x64)
Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK
Using the 'dotnet' on the PATH.
DotNetPath set to dotnet
Located 1 MSBuild instance(s)
1: .NET Core SDK 6.0.100 17.0.0 - "C:\Program Files\dotnet\sdk\6.0.100\"
Registered MSBuild instance: .NET Core SDK 6.0.100 17.0.0 - "C:\Program Files\dotnet\sdk\6.0.100\"
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
Detecting projects in 'c:\Users\Anjan Reddy\source\repos\rsi-core\Rsi.sln'.
Queue project update for 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.Api\Rsi.Api.csproj'
Queue project update for 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.Core\Rsi.Core.csproj'
Queue project update for 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.DataAccess.EFCore\Rsi.DataAccess.EFCore.csproj'
Queue project update for 'c:\Users\Anjan Reddy\source\repos\rsi-core\tests\Rsi.Fixtures\Rsi.Fixtures.csproj'
Queue project update for 'c:\Users\Anjan Reddy\source\repos\rsi-core\tests\Rsi.UnitTests\Rsi.UnitTests.csproj'
Detecting CSX files in 'c:\Users\Anjan Reddy\source\repos\rsi-core'.
Did not find any CSX files
Configuration finished.
Omnisharp server running using Stdio at location 'c:\Users\Anjan Reddy\source\repos\rsi-core' on host 15080.
Loading project: c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.Api\Rsi.Api.csproj
Successfully loaded project file 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.Api\Rsi.Api.csproj'.
Adding project 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.Api\Rsi.Api.csproj'
Loading project: c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.Core\Rsi.Core.csproj
Successfully loaded project file 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.Core\Rsi.Core.csproj'.
Adding project 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.Core\Rsi.Core.csproj'
Loading project: c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.DataAccess.EFCore\Rsi.DataAccess.EFCore.csproj
Successfully loaded project file 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.DataAccess.EFCore\Rsi.DataAccess.EFCore.csproj'.
Adding project 'c:\Users\Anjan Reddy\source\repos\rsi-core\src\Rsi.DataAccess.EFCore\Rsi.DataAccess.EFCore.csproj'
Loading project: c:\Users\Anjan Reddy\source\repos\rsi-core\tests\Rsi.Fixtures\Rsi.Fixtures.csproj
Successfully loaded project file 'c:\Users\Anjan Reddy\source\repos\rsi-core\tests\Rsi.Fixtures\Rsi.Fixtures.csproj'.
Adding project 'c:\Users\Anjan Reddy\source\repos\rsi-core\tests\Rsi.Fixtures\Rsi.Fixtures.csproj'
Loading project: c:\Users\Anjan Reddy\source\repos\rsi-core\tests\Rsi.UnitTests\Rsi.UnitTests.csproj
Successfully loaded project file 'c:\Users\Anjan Reddy\source\repos\rsi-core\tests\Rsi.UnitTests\Rsi.UnitTests.csproj'.
Adding project 'c:\Users\Anjan Reddy\source\repos\rsi-core\tests\Rsi.UnitTests\Rsi.UnitTests.csproj'
Update project: Rsi.Api
Update project: Rsi.Core
Update project: Rsi.DataAccess.EFCore
Update project: Rsi.Fixtures
Update project: Rsi.UnitTests
Received response for /v2/getcodeactions but could not find request.
Steps to reproduce
- Navigate to “Run and Debug” in Visual Studio Code
- Add a launch.json that comes by default with Visual Studio Code
- Hit F5 or Start Debugging by pressing the Green Arrow.
- You will see that the project will start building, but will error out without starting the Debugger - Error processing ‘configurationDone’ request. Unknown Error: 0x800700c1
Expected behavior
Debugger should start and one should be able to setup break points and debug an application
Actual behavior
Error processing ‘configurationDone’ request. Unknown Error: 0x800700c1
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
Cool. I enhanced our error handling, and, on Windows, fixed the code to just look for
dotnet.exe
instead ofdotnet
.I am not aware of anything in .NET Tooling that will create that file.