hydrologics/Oasis.Base — Issue #15: Exception when resolving IOasisLogger
Author: slebherz
Created: 2011-10-24 21:14:40+00:00
State: open

When Presentation's MainControlViewModel is being instantiated it attempts to resolve an IOasisLogger. Executing the line: _logger = _container.Resolve();

results in the exception:

System.ArgumentException was unhandled by user code
Message=Type does not provide a constructor taking a single parameter type of NameValueCollection
Source=Microsoft.Practices.EnterpriseLibrary.Common

To reproduce the error just run Presentation--the MainControlViewModel is instantiated as the GUI initially loads.