[BUG] Could not load file or assembly 'System.Memory 4.0.1.1 #48503
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-author-feedback
Workflow: More information is needed from author to address the issue.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.Core 1.44.1; Azure.Identity: 1.13.2; System.Memory: 4.5.5; System.Memory.Data: 6.0.0
Describe the bug
I have:
but I got this excption: System.TypeInitializationException: The type initializer for 'Azure.Core.ClientOptions' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
Expected behavior
Ideally Azure.core 1.44 should depend on System.memory 4.5.5 only.
Actual behavior
I got this excption: System.TypeInitializationException: The type initializer for 'Azure.Core.ClientOptions' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
Reproduction Steps
I have:
but I got this excption: System.TypeInitializationException: The type initializer for 'Azure.Core.ClientOptions' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
It runs well on VS2022, but when I make a setup file and install to C://Proggramfile(x86)..., I got above error
Environment
Vs2022
C# Netframework 4.8
The text was updated successfully, but these errors were encountered: