PowerPlatform-DataverseServiceClient
PowerPlatform-DataverseServiceClient copied to clipboard
Microsoft.PowerPlatform.Dataverse.Client with Visual Studio 2022 extension (VSIX)
I develop VSIX extension, in my extension I add ref Microsoft.PowerPlatform.Dataverse.Client from NuGet ver 1.2.9
In code, when i try
var connectionString = "AuthType=ClientSecret;Url=.....";
var ServiceClient = new ServiceClient(connectionString); //exception throw here in my VSIX extension (/rootsuffix Exp)
it throw exception as picture bellow
how i can check and fix?
Thank you
That type of error would occur if your using reflection loading as the Ilogger is present on the contract, but not required. when a reflection load is used, you would need to pass a null for the Ilogger.