Note that there are some explanatory texts on larger screens.

plurals
  1. POThe located assembly's manifest definition does not match the assembly reference C# Dll hell
    primarykey
    data
    text
    <p>I'm in dll hell here with a large project. I have a dll patch which I'm trying to put into the assembly such that I can overide the built dlls in the project. I'm adding the .dll to the StartProject and replacing the existing one, but I get the following error and I don't know why this is the case. I've tried changing the specific version to False and the runtime versions all look identical for each of the dll's. The only difference in properties between this dll and the others is the use of an option called SpecificVersion - but this is set to false anyway.</p> <pre><code>Failed processing: System.IO.FileLoadException: Could not load file or assembly XXX.XXX.XXX, Version=X.X.X.X, Culture=neutral, PublicKeyTok en=5353c9f66d4ed1ec' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80 131040) File name: 'XXX.XXX.XXX, Version=X.X.X.X, Culture=neutral, P ublicKeyToken=xxxxxxxxxxxxxxx' at XXX.XXX.XXX.XXX.XXX.XX(.....) </code></pre> <p>I'm looking at the fuslogvw failure output for binding and I get the following. Sorry for Redacting again.</p> <pre><code>=== Pre-bind state information === LOG: User = X LOG: DisplayName = DataObjects, Version=0.4.1060.0, Culture=neutral, PublicKeyToken=5353c9f66d4ed1ec (Fully-specified) LOG: Appbase = file://X/lib/ LOG: Initial PrivatePath = NULL LOG: Dynamic Base = NULL LOG: Cache Base = NULL LOG: AppName = Program.exe Calling assembly : Storage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. === LOG: This bind starts in default load context. LOG: Using application configuration file: 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: DataObjects, Version=0.4.1060.0, Culture=neutral, PublicKeyToken=5353c9f66d4ed1ec LOG: GAC Lookup was unsuccessful. LOG: Attempting download of new URL file:///X/DataObjects.DLL. LOG: Assembly download was successful. Attempting setup of file: X\DataObjects.dll LOG: Entering run-from-source setup phase. LOG: Assembly Name is: DataObjects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5353c9f66d4ed1ec WRN: Comparing the assembly name resulted in the mismatch: Major Version 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. </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload