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.

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
189 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 28,941 Reputation points Microsoft Vendor
    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.