question

DANDA322-2731 avatar image
0 Votes"
DANDA322-2731 asked PengGe-MSFT commented

Visual Studio 2019 Command Prompt restart computer

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

vs-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @DANDA322-2731
I have not heard from you for a couple of days. Please let me know if there is anything that I can help here.

0 Votes 0 ·

1 Answer

PengGe-MSFT avatar image
0 Votes"
PengGe-MSFT answered PengGe-MSFT commented

Hi @DANDA322-2731

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


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

When creating a new project, the problem also arises. devenv.exe doesn't help

0 Votes 0 ·

Hi @DANDA322-2731
I updated my answer, please check it.

0 Votes 0 ·