I'm developing a new WPF project with C#, Visual Studio 2015 Community, .NET Framework 4.6.1 and Enterprise Library (latest version).
I'm trying to use Enterprise Library Console to add a Logging Exception Handler:
Do I have to do something to show Logging Exception handler option?
Here is my package.config file:
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EnterpriseLibrary.Common" version="6.0.1304.0" targetFramework="net461" />
<package id="EnterpriseLibrary.ExceptionHandling" version="6.0.1304.0" targetFramework="net461" />
<package id="EnterpriseLibrary.Logging" version="6.0.1304.0" targetFramework="net461" />
</packages>
You need to install the NuGet package for EnterpriseLibrary.ExceptionHandling.Logging. That package is what provides the connection between the Exception Handling Block and the Logging Block (it provides the ExceptionHandler that uses the Logging block).