-
Notifications
You must be signed in to change notification settings - Fork 654
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
Cannot debug a C# application #1526
Comments
I'm not sure, but I don't know if a project with Could you try to debug this simple app? |
I get these errors upon build Okay, so then I click to show problems, then I get this (I will also report this on the other repo) So I go through the first step again and instead press "Debug Anyway", and I get the same error in the previous issue, the debugger detaches for some reason. |
Did you do |
I just ran those and it said I did it in the project root as well
|
Could you give me your |
|
I'll try to reproduce this in my VM... |
A few notes in case any of this is helpful:
|
Could you try to update your netcore? If you decide to upgrade your netcore version, you'll need to see these topics: |
The dotnet Special Interest Group in Fedora does not have a more up to date binary to provide for Fedora for the time being, I will update it when a newer version is available. But shouldn't my old version still be able to run the consoleapp? dotnet run I get this error
If I remember correctly .NET core uses project.json for linux and .csproj for windows; and this project uses .csproj I have another project I created with dotnet that works just fine. But I am doing it from the command line when I run it. |
No, project.json was the project file format for all projects from the start of the project through tooling v1.0 preview2. After tooling v1.0 preview2, the tooling switched to .csproj on all OSs. Project.json is deprecated now, and the version you have is the last release version that will ever be released that targets it. Do you have a project.json in the path sited? Technically you are running into a problem with the .NET CLI rather than this extension. But since you are using the deprecated tooling there isn't really a place for your bug. |
@bhkeys it works because you have the 1.0 preview version installed. You can see more in: |
Alright, thank you guys for the information. I will keep up with the dotnet SIG and will check to see if this works on a newer version of .NET once it gets released |
i have same issue, but with macos. The debugger not doing anything. This is my configuratiin
i got no error, debugger just running but, not doing anything. |
@zeihanaulia if you would like help, please open a new issue, and include logs (instructions for enabling logging). Thanks! |
I am unable to debug a C# application, I am moving the issue to this repo as instructed by our friends at Microsoft
microsoft/vscode#27091 (comment)
The text was updated successfully, but these errors were encountered: