microsoftgraph/msgraph-sdk-dotnet-core

Core 3.1.8/3.1.9 Target incompatible depencies

hovrawl opened this issue · 0 comments

Kiota depencies are mismatched amongst eachother on the current 3.1.8 nuget package; targeting very specific releases that are not the most current which do not all target the same dependencies amongst one another. This causes assemblies referencing the Graph SDK to fail to load as MEF doesn't appear to be allowing for bindingRedirects.

This can be resolved by updating the nuget release for Graph.Core to target the latest/more recent depencies for Kiota abstractions as upon inspection they are currently targeting the same versions across the board, their only mismatch is targeting a different Graph.Core depency that is unnavailable through nuGet.

Below are example Fusion logs of assemblies failing to load on 3.1.8

Microsoft.Kiota.Http.HttpClientLibrary

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Kiota.Abstractions, Version=1.7.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = ****
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.Kiota.Http.HttpClientLibrary, Version=1.3.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
===

Microsoft.Kiota.Authentication.Azure

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Kiota.Abstractions, Version=1.7.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = ****
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.Kiota.Authentication.Azure, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
===