Reputation: 508
System.Collections.Immutable 7.0.0
is dependent on
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" exclude="Build,Analyzers" />
and
System.Memory 4.5.5
is dependent on
<dependency id="System.Runtime.CompilerServices.Unsafe" version="4.5.3" />
How I will be able to ship these properly ?
The the Release folder I am getting 6.0.0 version when shipped on of the application required the 4.5.3 version of the dll. and thows runtime error
ExceptionObject: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
// Span`1.ctor()
10/01/24 18:43:52.752 00 SystemUI:44304 ERR: File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Upvotes: 0
Views: 60