Skip to content

Unclear that I had to generate a tasks.json and fill in launch.json #9490

Closed

Description

@wugeorgeq

I ran into errors debugging because I needed to generate a tasks.json file, also i needed to fill out launch.json with the path to app.dll


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. mairaw commented on Dec 10, 2018

    @mairaw
    Contributor

    Thanks for your feedback @wugeorgeq. Which version of .NET Core you're using?
    VS Code should create those for you when running the commands and launching the debugger.

  2. added
    needs-more-infoNeeds more info from OP. Auto-closed after 2 weeks if no response. [org][resolution]
    and removed on Dec 10, 2018
  3. mairaw commented on Dec 10, 2018

    @mairaw
    Contributor
  4. added this to the Backlog milestone on Dec 10, 2018
  5. wugeorgeq commented on Dec 10, 2018

    @wugeorgeq
    Author
  6. SurlyMae commented on Feb 20, 2019

    @SurlyMae

    I'm having this same issue - here's my version info:

    .NET Core SDK (reflecting any global.json):
    Version: 2.2.103

    Runtime Environment:
    OS Name: Mac OS X
    OS Version: 10.13
    OS Platform: Darwin

    Host (useful for support):
    Version: 2.2.1
    Commit: 878dd11e62

    .NET Core SDKs installed:
    1.0.1 [/usr/local/share/dotnet/sdk]
    2.2.103 [/usr/local/share/dotnet/sdk]

    Also @mairaw, I was able to run the debugging part of the other tutorial without issues; I do not recall the VS Code prompt from Debug Step 2 of that tutorial popping up in this tutorial

  7. Varal7 commented on Feb 27, 2019

    @Varal7

    I have the same issue,

    • using VS Code Version 1.30.1 (1.30.1)
    • with .NET Core SKD version 2.2.104

    The launch.json is created but with a placeholder for the "program" entry of "configurations.

    Had to infer from this thread that the correct line should be

                "program": "${workspaceFolder}/app/bin/Debug/netcoreapp2.2/app.dll",
    
  8. added and removed
    needs-more-infoNeeds more info from OP. Auto-closed after 2 weeks if no response. [org][resolution]
    on Mar 4, 2019
  9. mairaw commented on Mar 4, 2019

    @mairaw
    Contributor

    Thanks for the information everyone! We'll look into this topic more closely as we prepare for .NET Core 3.0 release.

  10. tdykstra commented on Apr 20, 2020

    @tdykstra
    Contributor

    @BillWagner Your PR #16349 has a Fixes #9490 comment but this issue didn't get closed automatically. Should it be closed?

  11. BillWagner commented on Apr 20, 2020

    @BillWagner
    Member

    @tdykstra Yes, this should be closed. I'll close now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

waiting-on-feedbackWaiting for feedback from SMEs before they can be merged

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions