Error debugging windows application in Visual Studio 2022

Jonathan Smith 21 Reputation points
2022-03-28T00:10:08.807+00:00

Error trying to run project: unable to start debugging. Failed to process configuration file. Try to restart, if this error continues try to repair install.

I get his when trying to run a Windows application that I am developing for a museum. I have tried to restart several times. At one point the software crashed on me and just disappeared. What and how do I fix this issue?

I have also attached an image of the error that I get when trying to test and debug the application.187260-screenshot-2022-03-27-200426.png

Developer technologies Visual Studio Debugging
Community Center Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-03-28T02:59:25.807+00:00

    Hi @Jonathan Smith ,

    Welcome to Microsoft Q&A!

    Could you tell me the specific version of your Visual Studio 2022?

    Please check if your VS2022 is up-to-date or not. Please update it to the latest version through Visual Studio Installer.
    Then, repair the installation in Visual Studio Installer > More > Repair.

    Besides, please create a new project and check if the error occurs in specific project or not.

    Sincerely,
    Anna
    *
    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

2 additional answers

Sort by: Most helpful
  1. Rinaldo 396 Reputation points
    2022-07-22T21:00:14.313+00:00

    @Anna Xiu-MSFT

    I encouter the same problem with version Microsoft Visual Studio Community 2022 (64-bit) - Current
    Version 17.2.6

    Can't debug, F10 stepover F11 step into I thought it was the keybord but not at all. WHat can be set to correctn this error


  2. Rinaldo 396 Reputation points
    2022-07-22T23:56:13.313+00:00

    @Anna Xiu-MSFT
    Found the problem . Anoher program kidnapped the keys f10 and f11

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.