microsoft-graph-comms-samples icon indicating copy to clipboard operation
microsoft-graph-comms-samples copied to clipboard

Add support for Microsoft.Graph.Core >= 3.0.0 to Microsoft.Graph.Communications.Core

Open Kizzik opened this issue 2 years ago • 1 comments

Describe the issue Currently, Microsoft.Graph.Communications.Core is dependent on Microsoft.Graph.Core (>= 2.0.13 && < 3.0.0). Microsoft.Graph 5.x.x requires Microsoft.Graph.Core >= 3.x.x.

The impact of this is that by introducing calling functionality in my bot, my options are to either use Microsoft.Graph.Communications.Calls and back-port all other Graph calls in my project from the 5.x.x format back to 4.x.x, or manually handle the calling requests - neither of which are particularly inviting options.

Code Snippet N/A

Expected behavior Able to use Microsoft.Graph.Communications.Core (and subsequently Microsoft.Graph.Communications.Calls) with the latest Microsoft.Graph package.

Graph SDK (please complete the following information): Microsoft Graph 5.16.0

Call ID N/A

Logs N/A

Additional context Apologies if this isn't the correct place to post this, I couldn't find anywhere more appropriate.

Kizzik avatar Jul 05 '23 02:07 Kizzik

The SDK should probably support newer versions of the Microsoft.Graph.Core assembly. Though updates to the SDK are slow and I wouldn't bet on Microsoft for doing it within the next 2 years.


That being said, maybe you can find a way to load both versions of the assembly, either in different processes or via multiple App Domains / AssemblyLoadContexts. Not sure if either of these options is more "inviting" for you, but I just wanted to put those options out there, as personally, I would rather have everything as up to date as possible.

InDieTasten avatar Jul 20 '23 12:07 InDieTasten