Microsoft.Identity.Client forces assembly redirect for System.Runtime.WindowsRuntime
See original GitHub issueWe are referencing version Microsoft.Identity.Client
4.23.0
This causes the symptom described in the following issue: https://github.com/dotnet/runtime/issues/28603
Platform .NET Full Framework 4.7.2
Ultimately this forces to use the version of System.Runtime.WindowsRuntime
from GAC.
Doesn’t seem correct, could you please apply the same fix as in https://github.com/dotnet/runtime/issues/28603?
Also, clicking the warning in VS removes it from the list, but does not apply the redirect in web.config (Visual Studio Professional 2019 version 16.8.2).
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
System.Runtime.WindowsRuntime adds incorrect Binding ...
Identity.Client forces assembly redirect for System.Runtime.WindowsRuntime AzureAD/microsoft-authentication-library-for-dotnet#2267.
Read more >Redirecting Assembly Versions - .NET Framework
Redirect compile-time binding references to different versions of .NET assemblies, third-party assemblies, or your own app's assemblies.
Read more >Enable or disable autogenerated binding redirects
Disable automatic binding redirects in desktop apps. Automatic binding redirects are enabled by default for Windows desktop apps that target .
Read more >Could not load file or assembly 'Newtonsoft.Json, Version= ...
Adding binding redirect configuration for Newtonsoft.Json in your configuration file (web.config) will resolve the issue.
Read more >Configuring Assembly Binding Redirection - .NET Framework
See how to configure assembly binding redirection in .NET by using the appliesTo attribute in the assemblyBinding element of an application ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @bgavrilMS ,
I have stripped the repro solution a bit more. It now only references
System
,System.Web
and the packageMicrosoft.Identity.Client
: 2267-stripped.zipAs for the provided options:
Please stay on MSAL 4.22 as it does not have this dependnecy until we get this fixed.