Skip to content
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

[BUG] Launch adds hyphen and breaks path #1425

Closed
georg-eckert-zeiss opened this issue Sep 3, 2024 · 1 comment
Closed

[BUG] Launch adds hyphen and breaks path #1425

georg-eckert-zeiss opened this issue Sep 3, 2024 · 1 comment
Labels
area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire bug Something isn't working

Comments

@georg-eckert-zeiss
Copy link

Describe the Issue

When adding a configuration and trying to run it a hyphen ("-") is added to the executable. Therefore I get an error that the file cannot be found.

image

Steps To Reproduce

  1. in ubuntu linux clone a C# project like nuget-inspector
  2. install the C# dev kit extension in vs code
  3. create a launch.json
  4. add a new configuration ".NET: launch executable file (Console)"
  5. launch it

Expected Behavior

file is launched

instead a hyphen is added and changes the path from

/bin/Debug/net6.0/linux-x64/nuget-inspector.dll
to
/bin/Debug/net6.0/linux-x64/-nuget-inspector.dll

Environment Information

  • OS: Ubuntu 22.04
  • VS Code version: 1.92.2 azure snap
  • Extension version: v1.9.55
@georg-eckert-zeiss georg-eckert-zeiss added the bug Something isn't working label Sep 3, 2024
@webreidi webreidi added the area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire label Sep 3, 2024
@WardenGnaw
Copy link
Member

Moving to dotnet/vscode-csharp#7504 as it is using launch.json and the coreclr type.

@WardenGnaw WardenGnaw closed this as not planned Won't fix, can't repro, duplicate, stale Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants