question

Pasc059-3466 avatar image
0 Votes"
Pasc059-3466 asked ·

CascadePackage package not loaded

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

vs-general
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered ·

Hello @Pasc059-3466 ,

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.


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Pasc059-3466 avatar image
0 Votes"
Pasc059-3466 answered ·

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





·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Pasc059-3466 avatar image
0 Votes"
Pasc059-3466 answered ·

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 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Pasc059-3466 , thanks for your feedback. Good to know that you have found a workaround, for the error message(screenshot), could you translate them into English? This will be helpful for me to check further.

0 Votes 0 ·

Roughly translated (something that a Microsoft employee should be able to do, BTW0:

The package 'CascadePackage' did not load correctly.

The problem could be caused by a modification to the configuration or to the installation of another extension. For more information, examine the file <file path>.

Restarting Visual Studio my help to correct this problem.

Do you want to continue to receive this error message?

0 Votes 0 ·

Hi,

I just upgraded my Visual Studio to version 16.9.1 and got same message: "The 'CascadePackage' package did not load correctly".

The installed version of Live Share extension was 1.0.3884.0.
When clicking on the "Live Share" button nothing seems to happen.

Reverting the Live Share extension back to version 1.0.3587.1 and restarting Visual Studio made the message disappear, an live share seems to work again.

I later updated Live Share back to latest version 1.0.3884.0, trying to check that this was the real issue.
This time Visual Studio started without the error message, and Live Share still works.

Best Regards,
Erik

0 Votes 0 ·

Same problem here. And disabling Live Share worked to me.

0 Votes 0 ·