Closed bfany365 closed 1 month ago
Thanks for raising this @bfany365
I suspect the issue here is that that the Microsoft.Graph.Communications.Calls
package is referencing an old/incorrect version of the kiota http package here.
Do you get a different result if you drop the Microsoft.Graph.Core
and the Microsoft.Graph
dependency and let the compiler resolve the version the Microsoft.Graph.Communications.Calls
dependency?
Hi @andrueastman
I dropped the "Microsoft.Graph.Core" and "Microsoft.Graph" and did not work.
I made a new .net 4.8 project from scratch and just added the required dependencies one by one and here is the list that worked for the new project:
Azure.Core | 1.36.0.0 Microsoft.Bcl.AsyncInterfaces | 7.0.0.0 Microsoft.CSharp | N/A Microsoft.Extensions.Logging.Abstractions | 2.2.0.0 Microsoft.Graph | 5.38.0.0 Microsoft.Graph.Communications.Calls | 1.2.0.10574 Microsoft.Graph.Communications.Client | 1.2.0.10574 Microsoft.Graph.Communications.Common | 1.2.0.10574 Microsoft.Graph.Communications.Core | 1.2.0.10574 Microsoft.Graph.Core | 3.1.3.0
However, I need to figure out how to make it work in the old project and will let you know after trying.
These are the packages that worked:
Microsoft.Graph, 5.38.0 Microsoft.Graph.Communications.Client, 1.2.0.10563 Microsoft.Graph.Communications.Common, 1.2.0.10563 Microsoft.Graph.Communications.Core, 1.2.0.10563 Microsoft.Graph.Core, 3.1.3 System.Net.Http.WinHttpHandler, 6.0.0
Thanks for confirming this @bfany365
At the end of the day, I believe, the Microsoft.Graph.Communications.Core
libraries will need to release a new version that targets later version of the library here https://www.nuget.org/packages/Microsoft.Kiota.Http.HttpClientLibrary.
As this library is not maintained by us, would you be willing to create an issue for this at this repo? https://github.com/microsoftgraph/microsoft-graph-comms-samples
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Hi
I have already read similar questions but they did not help me:
https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2520 https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2533 https://github.com/dotnet/runtime/issues/28826
The error:
Stack Trace:
Here is my cs project structure:
And the dependencies:
I use resharper to dig into to the referenced library and I can see the KiotaClientFactory exists:
The error happens when using trying to add event handler for incoming call: