Search code examples
visual-studio-2022visual-studio-extensionsgithub-copilot

Could not load file or asssembly 'Microsoft.identity.client'


I want to install Github Copilot extension in Visual studio 2022. when i install it, i close all vs 2022 as instructed then i am supposed to receive a message saying that it was done.

However i keep getting an error from VSIX Installer saying:

Could not load file or asssembly 'Microsoft.identity.client, version=4.30.0.0,culture=neutral,PublickeyToken=0a613f4dd989eBae' or one of its dependencies. the located assembly's manifest definition does not match the asssembly reference.(Exception from HRESULT: 0x801311040).

I get the same message when i try to update any extensions i have in visual studio 2022

PS: I already installed Copilot in VsCode and it working perfectly.

Thank you!


Solution

  • It FINALLY worked. The error happened because I didn't have app installer and Microsoft store so I had to reset my windows 10 then the problem was solved.