microsoft / powerplatform-vscode

The Power Platform VSCode extension makes it easy to manage Power Platform environments and allows the developer to create, build and deploy Power Platform solutions, packages and portals.
MIT License
210 stars 38 forks source link

pac org who return error message #792

Open bobyJoe opened 11 months ago

bobyJoe commented 11 months ago

With the latest version (1.29.11) commands like "pac org who" , "pac solution list" or "pac solution export" simply failed

it return the following error message : Could not load type 'Microsoft.Xrm.Sdk.KnownTypesFactory' from assembly 'Microsoft.Xrm.Sdk

Error Message : 2023-12-11 17:30:35.8070 | FTL | bolt.Session :: Could not load type 'Microsoft.Xrm.Sdk.KnownTypesFactory' from assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.|EXCEPTION: System.TypeLoadException: Could not load type 'Microsoft.Xrm.Sdk.KnownTypesFactory' from assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

snizar007 commented 9 months ago

@bobyJoe - Are you able to use pac auth list? Did you see this issue in the last PAC CLI release? Have you tried our newest PAC CLI release 1.30.4?