Visual studio 2022 debugging

Nazeer Khan 0 Reputation points
2024-07-24T13:02:09.1366667+00:00

how to resolve error " visual studio can not start debugging because the debug target bin\debug.exe is missing

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,883 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
967 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
    2024-07-25T07:19:01.17+00:00

    Hello @Nazeer Khan,

    Welcome to Microsoft Q&A forum.

    First, you need to check if your project has passed the build process, make sure that there’s no build error. You can check details in VS Output Window and Error List Window.

    Second, please check following things:

    1. In Solution Explorer, right-click the solution node, select Configuration Manager, make sure that your projects have checked "Build".
    2. Right-click your project, Properties, Build, Output, make sure that the output path is correct(by default => bin\).

    Then, rebuild(Build > Rebuild Solution) your project. Run/debug your project.

    Feel free to let us know if it works:)

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments