How to fix my Visual Studio after upgrade to 17.7.6?

Fernanda JB 0 Reputation points
2023-11-13T23:17:03.3+00:00

After installing the Visual Studio update to version 17.7.6, my environment was no longer able to load. The same message always appeared: package XXXXXX cannot be loaded. The message appears for two more packages.

I performed the update repair, without success.

In research on forums, several alternatives were suggested. Among them, they claimed that some Windows Update update had not been completed successfully. However, after running the recommended Microsoft tools, no positive effects occurred.

In a new attempt, Visual Studio was completely uninstalled, leaving only the Visual Studio Installer. I restarted the machine and installed the IDE again. Again, another failure... the same messages were obtained.

Still hoping to be successful with the installation of the environment and IDE, I uninstalled all applications that were possibly linked to VS (SDK's, Runtimes, etc...).

A new installation was done and the same errors continued to appear.

I really need help to resolve this issue. I wouldn't like to believe that the only solution I have left is to reinstall Windows 11 and all the applications I use.

Follow the XML files generated when the errors reported above occurred.

ActivityLog.xml ActivityLog.Setup.xml

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2023-11-14T02:23:26.5866667+00:00

    Hello @Fernanda JB ,

    Welcome to Microsoft Q&A forum.

    Please try following, and then relaunch VS and check if the issue disappears.

    1. Close VS, open CMD as administrator and run DISM.exe /Online /Cleanup-image /Restorehealth command, after the command finishes running, please run sfc /scannow command.
    2. Close VS, go to C:\Users\{username}\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX folder, remove the 17.0_XXXXXXXX folder.
    3. Close VS, reboot your machine and rename the %Temp% folder(C:\Users\{username}\AppData\Local\Temp).

    Sincerely,

    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.