hiya all,
can someone help me decipher the fusion log to figure out the issue in my solution.
we've upgraded a package version, but now the bindings (almost) always fail
all I can think is:
a) theres' something that is filelocked or failing build and so is not replacing the old dll (clean clean clean... what else?)
b) theres another component in the project that is using an older dll and so clashing...?
c) theres an explicit referenc in the project to (eg an assembluy reference in .config, specifying a different build number...? (can't see any... doesn't mean its not there...)
there is THIS, but I think its right... but perhaps I need to change 6.0.0.0 to 6.0.1304.0 on "old" and "new" Versions...?
<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Microsoft.Practices.EnterpriseLibrary.Logging" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /></dependentAssembly>
d) other
so I'm not sure I'm fully understanding the fusion log output, but here it is, I'm sure there must be some clue or hint in here that will help me figure this out...
fuslog output:
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable C:\Program Files (x86)\IIS Express\iisexpress.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.1304.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///D:/dev/currentproject/Main/Source/WebServices/
LOG: Initial PrivatePath = D:\dev\currentproject\Main\Source\WebServices\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\dev\currentproject\Main\Source\WebServices\web.config
LOG: Using host configuration file:
\\netcommon\users$\myuser\IISExpress\config\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.1304.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL
file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/454766d8/80d08c69/Microsoft.Practices.EnterpriseLibrary.Logging.DLL.
LOG: Attempting download of new URL
file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/454766d8/80d08c69/Microsoft.Practices.EnterpriseLibrary.Logging/Microsoft.Practices.EnterpriseLibrary.Logging.DLL.
LOG: Attempting download of new URL
file:///D:/dev/currentproject/Main/Source/WebServices/bin/Microsoft.Practices.EnterpriseLibrary.Logging.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Build Number
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
- UPDATE - that's the "FusionLog" from the VS2013 error "view details"
if I turn on fusionlogging and run without debugging, this is what you get (mostly the same but with more detail...
LOG: Post-policy reference: Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.1304.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL
file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/vs/454766d8/80d08c69/Microsoft.Practices.EnterpriseLibrary.Logging.DLL.
LOG: Attempting download of new URL
file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/vs/454766d8/80d08c69/Microsoft.Practices.EnterpriseLibrary.Logging/Microsoft.Practices.EnterpriseLibrary.Logging.DLL.
LOG: Attempting download of new URL file:///D:/dev/currentproject/Main/Source/WebServices/bin/Microsoft.Practices.EnterpriseLibrary.Logging.DLL.
LOG: Assembly download was successful. Attempting setup of file: D:\dev\currentproject\Main\Source\WebServices\bin\Microsoft.Practices.EnterpriseLibrary.Logging.dll
LOG: Entering download cache setup phase.
LOG: Assembly Name is: Microsoft.Practices.EnterpriseLibrary.Logging, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WRN: Comparing the assembly name resulted in the mismatch: Build Number
ERR: The assembly reference did not match the assembly definition found.
ERR: Setup failed with hr = 0x80131040.
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.