Can't load projects since updating to Visual Studio 17.6

Anonymous
2023-05-22T22:04:09.0166667+00:00

I can't load any projects in Visual Studio since updating to 17.6. I've uninstalled and reinstalled, I've used the InstallCleanup.exe tool, among some other steps but nothing has resolved it.

Developer technologies Visual Studio Setup
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-05-23T09:01:01.22+00:00

    Hello @Anonymous ,

    Welcome to Microsoft Q&A forum.

    Please try to remove the ComponentModelCache folders in C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX directory, and relaunch VS.

    If this doesn’t work, please check if the issue you got is the same/similar with this issue: RoslynPackage fails to initialize due to SettingsEditorFactory dependency error.

    If they are the same, please try the workaround => run gacutil /if "<vsinstalldir>\Common7\IDE\PublicAssemblies\System.ValueTuple.dll" in an elevated command prompt and remove above ComponentModelCache folders.

    If the error you got is not the same/similar with the above one, please share us the detailed error message for further check.

    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.


  2. Peter Lykkegaard 0 Reputation points
    2023-09-16T09:53:44.45+00:00

    Sorry but it is a quite common problem
    Surprises me it persists for such a long time
    Update VS, add Components or repaair the darn thjing and you are toasted

    Check where in the list the 64bit dotnet path is located, if not moved it above the 32bit path

    Control Panel -> System -> Advanced System Settings
    Click on Environment Variables in the lower right corner
    In System Variables edit the Path settings
    Move the 64 bit dotnet path above the 32bit path

    edit_env_var

    hth /Peter


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.