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

Niraj Bothe 0 Reputation points

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.
3,148 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AnnaXiu-MSFT 14,986 Reputation points

    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 ( 

    Please kindly wait for a fix to be released. 



    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.