Visual Studio 2019 Command Prompt restart computer

DANDA322 1 Reputation point
2021-09-12T20:39:15.63+00:00

When you run the code in VS, a console opens and the computer restarts. I also found out that running the Developer Command Prompt for VS 2019 also restarts the computer. help me please

Developer technologies Visual Studio Other
{count} votes

1 answer

Sort by: Most helpful
  1. PengGe-MSFT 3,381 Reputation points
    2021-09-13T03:06:13.07+00:00

    Hi @DANDA322

    Welcome to Microsoft Q&A!

    You can try to create a new project to detect whether the problem will occur.
    You can also use the devenv.exe /SafeMode and /ResetSettings commands to start Visual Studio.
    *
    Update:
    You can try to repair Visual Studio.

    Sincerely,
    Peng
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    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


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.