Open mchuong1 opened 4 weeks ago
Hello, thank you for reporting this. We will investigate. Tracked internally as 745.
I tried to reproduce this making a console app for .NET Framework 4.8 on Windows, but it resolved correctly to LaunchDarkly.Logging 2.0.0.
Are you able to generate a graph of the dependency resolution and post that here?
Describe the bug When installing LaunchDarkly.ClientSdk 5.2.1 and following the quickstart guide. Unable to get past client initialization because assembly keeps looking for LaunchDarkly.Logging 1.0.1 when 2.0.0 is installed. Even with assembly binding redirects it is unable to solve the issue
To reproduce Install nuget package LaunchDarkly.ClientSdk 5.2.1 and follow quickstart guide.
Expected behavior Return the flag value
Logs Exception thrown: 'System.IO.FileLoadException' in LaunchDarkly.InternalSdk.dll An exception of type 'System.IO.FileLoadException' occurred in LaunchDarkly.InternalSdk.dll but was not handled in user code Could not load file or assembly 'LaunchDarkly.Logging, Version=1.0.1.0, Culture=neutral, PublicKeyToken=d9182e4b0afd33e7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
SDK version 5.2.1
Language version, developer tools .Net 4.8 Visual Studio
OS/platform Windows 10
Additional Context Service