CascadePackage package not loaded

Pasc059 1 Reputation point
2021-03-05T09:50:37.693+00:00

Hello, i just installed the latest version of vs2019ce (vers 16.9), and after that i got an errer message resembling "CascadePackage package not loaded...". I restarted both Windows & VS, but the message remained. Then, inadvertently, i clicked on the button telling to no longer display the message, and of course the message no longer appears and VS seems to work correctly. Nevertheless, this is strange; is this serious doctor? regards

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

4 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 29,351 Reputation points Microsoft Vendor
    2021-03-08T06:40:15.5+00:00

    Hello @Pasc059 ,

    Welcome to Microsoft Q&A forum.

    I think you saw Infobars in Visual Studio, and from your description, the error message “CascadePackage package not loaded…” should be reported by the system(VS IDE).

    There is a similar thread which mentioned this error before, but according to this thread: The CascadePackage package did not load correctly, this issue should be fixed in Visual Studio version 16.5.

    Is this serious doctor?

    This should be an issue in your Visual Studio, since you click to no longer display the message, it will not display again, but it still exists. Perhaps, it depends on the specific project, or extensions. I suggest you report this issue to Visual Studio Product Team in our Developer Community, if you want to know the cause, and if this is a potential issue, it will be helpful for fixing it.

    Best Regards,
    Tianyu

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      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.
    0 comments No comments

  2. Pasc059 1 Reputation point
    2021-03-10T12:08:54.717+00:00

    Hello,

    i just updated to verson 16.9.1, and the message appears again. Restarting VS changes nothing.
    But now i can report the message chich is:
    76240-capture-decran-2021-03-10-115825.jpg
    and the last lines of the file 'ActivityLog.xml' are:

      <entry>  
        <record>706</record>  
        <time>2021/03/10 11:52:37.278</time>  
        <type>Error</type>  
        <source>VisualStudio</source>  
        <description>SetSite failed for package [CascadePackage]Source: &apos;System.ComponentModel.Composition&apos; Description: La composition a produit plusieurs erreurs de composition, avec 3 causes initiales. Ces causes initiales sont fournies ci-apr&#x00E8;s. Pour plus d&apos;informations, passez en revue la propri&#x00E9;t&#x00E9; CompositionException.Errors.&#x000D;&#x000A;&#x000D;&#x000A;1) Aucune exportation correspondant &#x00E0; la contrainte &#x000A;&#x0009;ContractName&#x0009;Microsoft.VisualStudio.Cascade.Commands.IJoinCommandLineHandler&#x000A;&#x0009;RequiredTypeIdentity&#x0009;Microsoft.VisualStudio.Cascade.Commands.IJoinCommandLineHandler n&apos;a &#x00E9;t&#x00E9; trouv&#x00E9;e.&#x000D;&#x000A;&#x000D;&#x000A;R&#x00E9;sultat&#x00A0;: Impossible de d&#x00E9;finir l&apos;importation &apos;Microsoft.VisualStudio.Cascade.CascadePackage.JoinWorkspaceCommandHandler (ContractName=&quot;Microsoft.VisualStudio.Cascade.Commands.IJoinCommandLineHandler&quot;)&apos; sur le composant &apos;Microsoft.VisualStudio.Cascade.CascadePackage&apos;.&#x000D;&#x000A;&#x00C9;l&#x00E9;ment&#x00A0;: Microsoft.VisualStudio.Cascade.CascadePackage.JoinWorkspaceCommandHandler (ContractName=&quot;Microsoft.VisualStudio.Cascade.Commands.IJoinCommandLineHandler&quot;) --&gt;  Microsoft.VisualStudio.Cascade.CascadePackage&#x000D;&#x000A;&#x000D;&#x000A;2) Aucune exportation correspondant &#x00E0; la contrainte &#x000A;&#x0009;ContractName&#x0009;Microsoft.VisualStudio.Cascade.Commands.IShareCommandLineHandler&#x000A;&#x0009;RequiredTypeIdentity&#x0009;Microsoft.VisualStudio.Cascade.Commands.IShareCommandLineHandler n&apos;a &#x00E9;t&#x00E9; trouv&#x00E9;e.&#x000D;&#x000A;&#x000D;&#x000A;R&#x00E9;sultat&#x00A0;: Impossible de d&#x00E9;finir l&apos;importation &apos;Microsoft.VisualStudio.Cascade.CascadePackage.ShareWorkspaceCommandHandler (ContractName=&quot;Microsoft.VisualStudio.Cascade.Commands.IShareCommandLineHandler&quot;)&apos; sur le composant &apos;Microsoft.VisualStudio.Cascade.CascadePackage&apos;.&#x000D;&#x000A;&#x00C9;l&#x00E9;ment&#x00A0;: Microsoft.VisualStudio.Cascade.CascadePackage.ShareWorkspaceCommandHandler (ContractName=&quot;Microsoft.VisualStudio.Cascade.Commands.IShareCommandLineHandler&quot;) --&gt;  Microsoft.VisualStudio.Cascade.CascadePackage&#x000D;&#x000A;&#x000D;&#x000A;3) Aucune exportation correspondant &#x00E0; la contrainte &#x000A;&#x0009;ContractName&#x0009;Microsoft.VisualStudio.Cascade.Contracts.IVsCascadeClientService&#x000A;&#x0009;RequiredTypeIdentity&#x0009;Microsoft.VisualStudio.Cascade.Contracts.IVsCascadeClientService n&apos;a &#x00E9;t&#x00E9; trouv&#x00E9;e.&#x000D;&#x000A;&#x000D;&#x000A;R&#x00E9;sultat&#x00A0;: Impossible de d&#x00E9;finir l&apos;importation &apos;Microsoft.VisualStudio.Cascade.CascadePackage.ClientService (ContractName=&quot;Microsoft.VisualStudio.Cascade.Contracts.IVsCascadeClientService&quot;)&apos; sur le composant &apos;Microsoft.VisualStudio.Cascade.CascadePackage&apos;.&#x000D;&#x000A;&#x00C9;l&#x00E9;ment&#x00A0;: Microsoft.VisualStudio.Cascade.CascadePackage.ClientService (ContractName=&quot;Microsoft.VisualStudio.Cascade.Contracts.IVsCascadeClientService&quot;) --&gt;  Microsoft.VisualStudio.Cascade.CascadePackage&#x000D;&#x000A;&#x000D;&#x000A;</description>  
        <guid>{D86E17D6-7FC7-47F4-9259-21748EDFF93B}</guid>  
        <hr>80131500</hr>  
        <errorinfo></errorinfo>  
      </entry>  
      <entry>  
        <record>707</record>  
        <time>2021/03/10 11:52:37.284</time>  
        <type>Error</type>  
        <source>VisualStudio</source>  
        <description>End package load [CascadePackage]</description>  
        <guid>{D86E17D6-7FC7-47F4-9259-21748EDFF93B}</guid>  
        <hr>80131500</hr>  
        <errorinfo></errorinfo>  
      </entry>  
    </activity>  
    

    if this can help...
    regards

    0 comments No comments

  3. Pasc059 1 Reputation point
    2021-03-10T14:13:45.197+00:00

    Hello,

    By chance, I noticed that when i desactivate Live Share extension, the message no longer appears. My version of Live Sahre is 1.0.3884.0.
    As i don't use Live Share, as i know and as i don't know what it is, deactivating this extension is a workaround for me.

    Regards


  4. Joseph DeVore 1 Reputation point
    2021-06-10T04:27:05.64+00:00

    I tried disabling Live Share..
    but it did not work for me..