further to my question, I find although the main program is now exectable, one of the dll cant be loaded. the fusion log is as follows:
*** Assembly Binder Log Entry (10/09/2012 @ 14:19:59) ***
The operation failed.
Bind result: hr = 0x80131040. No description available.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr. dll
Running under executable C:\ProSource10\prosource2-cleaned.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = MLZ1\zhenggong
LOG: DisplayName = Xceed.Chart.Standard.v4.3, Version=126.96.36.199, Culture=neutral, PublicKeyToken=ba83ff368b7563c6
LOG: Appbase = file:///C:/ProSource10/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = prosource2-cleaned.exe
Calling assembly : (Unknown).
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\conf ig\machine.config.
LOG: Post-policy reference: Xceed.Chart.Standard.v4.3, Version=188.8.131.52, Culture=neutral, PublicKeyToken=ba83ff368b7563c6
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/ProSource10/Xceed.Chart.Standard.v4.3.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\ProSource10\Xceed.Chart.Standard.v4.3.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Xceed.Chart.Standard.v4.3, Version=184.108.40.206, 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: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
so, from the log, the publickey doesn't match. the publickeytoken for original Xceed.Chart.Standard.v4.3.dll is indeed ba83ff368b7563c6. however, after I remove the strongname of the main program and its reference ( a number of dlls), it becomes zero. if I use the orginal Xceed.Chart.Standard.v4.3.dll to replace the resigned one. I still get the dll loading error. the strongname is removed by strong name helper 1.4
SO, Kao, could you show me a direction to fix this issue?
Last edited by zhgong007 : 09-18-2012 at 07:23 PM.