question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debug launch fails on Windows with error 0x800700c1 if a file named `dotnet` is present

See original GitHub issue

Environment 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

  1. Navigate to “Run and Debug” in Visual Studio Code
  2. Add a launch.json that comes by default with Visual Studio Code
  3. Hit F5 or Start Debugging by pressing the Green Arrow.
  4. You will see that the project will start building, but will error out without starting the Debugger - Error processing ‘configurationDone’ request. Unknown Error: 0x800700c1

OmniSharpError_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:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gregg-miskellycommented, Mar 1, 2022

Cool. I enhanced our error handling, and, on Windows, fixed the code to just look for dotnet.exe instead of dotnet.

0reactions
gregg-miskellycommented, Mar 1, 2022

I am not aware of anything in .NET Tooling that will create that file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unknown Error: 0x800700c1, While debugging .net Core 3.0 ...
The error means you sent the debugger a file that is not an executable. Try and verify that the path to executable you're...
Read more >
Please Help !!! Windows Update Not Working, Error Code
I first noticed it when I was attempting to run a program and noticed it needed .NET 3.5, however I could not get...
Read more >
How to resolve “Could not load file or assembly … or one of its ...
fuslogvw.exe is assembly binding log viewer (installed with Visual studio), run it from developers command prompt with admin privileges. Go to debug (under...
Read more >
Debugging in Visual Studio Code
json file link in the Run start view. launch configuration. VS Code will try to automatically detect your debug environment, but if this...
Read more >
An error occurred while starting the application, Process ...
George Kosmidis. Microsoft MVP | Cloud Solutions Architect | .NET Software Engineer | Organizer of Munich .NET Meetup | Speaker.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found