Visual Studio 2022 run without debugging button greyed out

Generic Guy no #400 26 Reputation points
2022-12-02T22:51:21.923+00:00

For some reason, whenever I try and run my project in visual studio 2022, the "run without debugging" button is greyed out, I have tried to find multiple answers to this problem but it seems like an uncommon error, it is my only project in my only solution folder, so I'm not so sure what could be causing it.

In case it helps, I'm trying to run a monogame template project and I'm not signed in

here is an image of what my UI looks like:

266793-image.png

Developer technologies Visual Studio Debugging
Developer technologies Visual Studio Other
{count} votes

6 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-12-05T03:35:17.267+00:00

    Hi @Generic Guy no #400 ,

    Welcome to Microsoft Q&A!

    Do you mean that the issue only occurs in specific project (monogame template project)?

    I created a MonoGame Cross-Platform Desktop Application and couldn’t reproduce your issue.

    Can you create a new project and check again? Please close all running VS instances and re-open your solution.
    Meanwhile, you can try to set the project as startup project.

    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. Leroy Hanson 0 Reputation points
    2023-01-19T00:34:06.79+00:00

    file -new - project - Empty - Console App " run code in a windows terminal. prints "hello world" by default.

    0 comments No comments

  3. Ola Al Jarrah 0 Reputation points
    2023-02-05T03:10:59.03+00:00

    Hi, I am having the same issue I have uninstalled it many times and reinstalled it, and the same issue. Any way to help?

    0 comments No comments

  4. ECHEVERRIA, JOEL 0 Reputation points
    2023-04-30T02:38:02.8466667+00:00

    I have the same issue, installing in Windows 11 64, uninstall doesn work.

    0 comments No comments

  5. Renjima Paul Thattil 0 Reputation points
    2023-08-22T09:36:53.8366667+00:00

    I also have the same issue. I also tried to uninstall and try to do it again.. But doesn't work


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.