-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method not found KiotaClientFactory.Create after upgrading Communications packages #774
Comments
Same problem here. |
Same problem here. |
https://github.com/microsoftgraph/microsoft-graph-comms-samples/pull/777/files could you please try this one? |
also, could you share the exception details? |
@vipwlb
In our environment
With the dependencies of Microsoft.Graph.Communications.Core 1.2.0.10563 to Graph.Core (>= 3.1.3 && < 4.0.0)
we got other exception, (see below) .
So we updated to Microsoft.Graph.Core : 3.1.14 and we got the exception first mentioned in my comment. |
I have the same exception as @stefan2410 in the Calls().OnIncoming += CallsOnIncoming.
As far as I can see the problem is in the Calls() method. The strange thing is that if I copy the code from the Calls() method and create my own Callsz() method with just the call to the factory, I dont get the error.
|
May be this can help ? |
@bfany365 with Microsoft.Graph.Core, 3.1.3 |
I also have the same exception details as stefan2410 |
A known issue was reported that found interaction of Graph Communications SDK nugets with Graph Core version 3.1.22. Graph.Core's internal Kiota lib dependency are conflicting with the Graph Commmunications Call SDK internal dependency. This is causing runtime issues so kindly refrain from Graph.Core version upgrades if using Graph Communications Calls nuget packages. |
Using PolicyRecordingBot, when upgrading Microsoft.Graph.Communications.* from (12.0.7270) to latest (1.2.0.10563), some adjustment in code are needed, but when that is done, there is an exception during startup. It seems to occur at BuildCommunicationsClientBuilder.Build().
System.MissingMethodException: 'Method not found: 'System.Net.Http.HttpClient Microsoft.Kiota.Http.HttpClientLibrary.KiotaClientFactory.Create(System.Net.Http.HttpMessageHandler)'.'
All packages are updated to latest with NuGet.
The reason to upgrade is the bug fixes in the new version. Is there a way to use the new package versions? The reference project (CRFrontEnd.csproj) in github uses an even older outdated version:
<PackageReference Include="Microsoft.Graph.Communications.Calls.Media" Version="1.2.0.3742" />
The text was updated successfully, but these errors were encountered: