C
C#3mo ago
Mango

How to resolve this exception

System.TypeInitializationException: The type initializer for 'Azure.Core.ClientOptions' threw an exception.
---> System.IO.FileLoadException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at Azure.Core.ClientOptions..ctor(ClientOptions clientOptions, DiagnosticsOptions diagnostics)
at Azure.Core.DefaultClientOptions..ctor()
at Azure.Core.ClientOptions..cctor()
--- End of inner exception stack trace ---
at Azure.Identity.TokenCredentialOptions..ctor()
at Core.Communication.MsGraphEmailService.d__6.MoveNext()
System.TypeInitializationException: The type initializer for 'Azure.Core.ClientOptions' threw an exception.
---> System.IO.FileLoadException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at Azure.Core.ClientOptions..ctor(ClientOptions clientOptions, DiagnosticsOptions diagnostics)
at Azure.Core.DefaultClientOptions..ctor()
at Azure.Core.ClientOptions..cctor()
--- End of inner exception stack trace ---
at Azure.Identity.TokenCredentialOptions..ctor()
at Core.Communication.MsGraphEmailService.d__6.MoveNext()
I don’t know what version to redirect to and I don’t see this assembly listed as a transient package or otherwise in the executing or calling assembly.
0 Replies
No replies yetBe the first to reply to this messageJoin