-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio Code 1.12 debugger fails to run with Omnisharp and Dotnet projects #1454
Comments
@gregg-miskelly can please help us to track down whether this is 1.12 releated? |
Same issue - every ASP.NET Core web application or DotNet Core command line application that previously functioned before the v.1.12.0 update now exhibits this error. |
Same issue - all ASP.NET Core web apps would build and run just minutes prior to the update. |
same issue v1.12 |
Same issue here! |
in VS code "Insiders" 1.12 works fine |
Yes, as a workaround you can use VSCode insiders https://code.visualstudio.com/insiders |
In a meanwhile I'll downgrade https://code.visualstudio.com/updates/v1_11 |
@bernardbr Great idea, I'll do the same. |
I took the downgrade path, as the Insiders version immediately through an error stating that "coreclr" was not a valid configuration type... 👎 |
If you can get away without debug in the short term you can run the following from PowerShell to have things run as normal: path-to-folder-with-proj-file> $Env:ASPNETCORE_ENVIRONMENT = "Development" |
As @isidorn recommended, vs code insiders is working fine here. |
@mjosephsmith if you open the console you can install a .NET debugger. |
Same issue here -- related to https://github.com/OmniSharp/omnisharp-vscode/issues/1323? |
No. This is a bug in VS Code. The VS Code team is working on fixing it. Either install insiders or roll back in the mean time. |
We will not close this yet since this is a hot issue, but microsoft/vscode#25918 tracks fixing this. |
VS Code 1.12.1 is now out, and contains the fix. So closing this. |
I am having the same issue, using vscode 1.15. It happens to me when trying to attach to docker process, as described in #1369. Regular start of dotnet core app works, so I guess this is something related to this configuration. I have 2 errors when running the configuration, the original error and:
The launch configuration:
Update: I used docker instead of docker-compose and now it works. Weird... |
@omerlh you are seeing |
Yes, I saw it only for docker-compose. When switched to docker instead it worked... |
Environment data
dotnet --info
output:.NET Command Line Tools (1.0.1)
Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1
Runtime Environment:
OS Name: Windows
OS Version: 10.0.14393
OS Platform: Windows
RID: win10-x64
VS Code version: 1.12
C# Extension version:
1.10.0-beta2
Steps to reproduce
I upgraded Visual Studio Code from 1.11 to 1.12 and got the following error when debugging a dotnet project:
Everything was working fine before upgrading to Visual Studio Code 1.12.
And I was using Omnisharp extension1.10.0-beta1. I then upgraded to 1.10.0-beta2.
However I keep getting the same error. What might be wrong?
The text was updated successfully, but these errors were encountered: