I'm going through the
Hands-On Labs for Microsoft Enterprise Library 5.0
I had installed Microsoft Enterprise Library, and then I downloaded entlibcontrib. I copied its entire entlibcontrib-5.0.505.0-2011-10-29-bin\bin into Program Files (x86)\Microsoft Enterprise Library 5.0\Bin and so now I have :
In the Documents\Microsoft Enterprise Library 5.0 - Hands On Labs\CS\Exception Handling\exercises\ex01\end\PuzzlerUI\AppConfig there is:
section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
I changed the Version to 5.0.505.0.
This PuzzlerUI lab has us start without debugging. (So I had found
this similar discussion about changing that PublicKeyToken to null. I tried that too).
Now, though, I cannot get past the Visual Studio warning:
Warning 62 Found conflicts between different versions of the same dependent assembly. PuzzlerUI
and the run-time error:
An error occurred creating the configuration section handler for exceptionHandling: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling,Version=5.0.414.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference (Exception from HRESULT 0x80131040)
Is it possible that the App.config within Microsoft Enterprise Library 5.0 - Hands On Labs\CS\Exception Handling\exercises\ex01\end\PuzzlerUI\ is wrong?