You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to reference a Nuget package called Combinatorics, which has an assembly that is not strong-named. It has no dependencies. After adding a reference to StrongNamer, the strong name error went away, but I'm still getting the below run-time error, which makes no sense to me. We reference all our Nuget packages in a local repository. Even after adding a binding redirect, I still get the same error. Thank you for your help.
*** Assembly Binder Log Entry (11/22/2022 @ 8:44:53 AM) ***
The operation failed.
Bind result: hr = 0x80131040. No description available.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable C:\Users\hutchinsons\source\dartwin\NG-DART\Source\x64\NG-DART\Debug\Explore.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = Combinatorics, Version=2.0.0.0, Culture=neutral, PublicKeyToken=e33b67d3bb5581e4
(Fully-specified)
LOG: Appbase = file:///C:/Users/hutchinsons/source/dartwin/NG-DART/Source/x64/NG-DART/Debug/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = Explore.exe
Calling assembly : Dart, Version=1.4.0.0, Culture=neutral, PublicKeyToken=8f9171b9ba717d8f.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\hutchinsons\source\dartwin\NG-DART\Source\x64\NG-DART\Debug\Explore.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Combinatorics, Version=2.0.0.0, Culture=neutral, PublicKeyToken=e33b67d3bb5581e4
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Users/hutchinsons/source/dartwin/NG-DART/Source/x64/NG-DART/Debug/Combinatorics.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Users\hutchinsons\source\dartwin\NG-DART\Source\x64\NG-DART\Debug\Combinatorics.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Combinatorics, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN
ERR: The assembly reference did not match the assembly definition found.
ERR: Run-from-source setup phase failed with hr = 0x80131040.
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
The text was updated successfully, but these errors were encountered:
I'm trying to reference a Nuget package called
Combinatorics
, which has an assembly that is not strong-named. It has no dependencies. After adding a reference toStrongNamer
, the strong name error went away, but I'm still getting the below run-time error, which makes no sense to me. We reference all our Nuget packages in a local repository. Even after adding a binding redirect, I still get the same error. Thank you for your help.The text was updated successfully, but these errors were encountered: