setup requires the computer to be restarted before visual studio can run

brunce 0 Reputation points
2023-05-05T01:31:55.9533333+00:00

After installing the extension and running visual studio, the message 'setup requires the computer to be restarted before visual studio can run' pops up. What is the reason for this? How to solve it? Thank you.

Developer technologies Visual Studio Extensions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-05-05T06:49:13.7133333+00:00

    Hello @brunce ,

    Welcome to Microsoft Q&A forum.

    Does rebooting your machine and going to VS Installer > restarting Visual Studio solve this issue?

    What is the reason for this?

    See this similar thread: VS Installer requires a computer restart after every VS update. Sometimes files which need to be used when installing components/extensions or updating VS, may be locked as other applications/processes are using them. In this situation, a restart will be needed.

    How to solve it?

    Normally, following the message to reboot machine should solve it. If it doesn’t work, try to open VS Installer > Restart VS or click More > Repair to repair Visual Studio.

    Feel free to let us know the result.

    Best Regards,

    Tianyu


    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.


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.