multiple packages not load correctly and intelligence stopped working in vs 2022

Niraj Bothe 0 Reputation points
2023-05-24T07:16:12.8+00:00

multiple packages not loaded correctly error is coming including rosyln package csharp package

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,570 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,381 Reputation points Microsoft Vendor
    2023-05-24T13:55:15.7633333+00:00

    Hi @Niraj Bothe

    Welcome to Microsoft Q&A! 

    Please close all running VS instances and rename (or delete) every ComponentModelCache folders under this path: C:\Users[username]\AppData\Local\Microsoft\VisualStudio\17.0_XXXXX. Then, re-run VS as administrator. 

    If you are using the latest version of VS2022, I suspect it is a known issue.

    You can try to run the following command in an elevated command prompt: 

    gacutil /if "<vsinstalldir>\Common7\IDE\PublicAssemblies\System.ValueTuple.dll"  

    If it doesn’t work, you can vote and add your comment at the ticket:

    RoslynPackage fails to initialize due to SettingsEditorFactory dependency error - Developer Community (visualstudio.com) 

    Please kindly wait for a fix to be released. 

    Sincerely,

    Anna


    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.

    1 person found this answer helpful.