Share via

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
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


1 answer

Sort by: Most helpful
  1. PengGe-MSFT 3,391 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

    Was this answer helpful?


Your answer

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