Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Did you verify that the <code>Microsoft.Practices.Unity.Interception.dll</code> and <code>Microsoft.Practices.Unity.Interception.Configuration.dll</code> are located in your app base folder or that they are registered in the GAC?</p> <p>Did you check that your <code>App.config</code> file is still named <code>App.config</code> after compilation and not renamed to something like <code>MyApp.Foo.dll.config</code>?</p> <p>Could you please post the complete config file. The above snippet works perfectly on my machine so I guess there is something else missing.</p> <p>Btw: If you want to use the default <code>App.config</code> or <code>Web.config</code> anyway you can drop the <code>ExeConfigurationFileMap</code> and directly call <code>ConfigurationManager.GetSection("unity")</code></p> <hr> <p><strong>Update</strong></p> <p>So you have an application which is not a console app (e.g. WinForms or WPF) and want to write trace output to a console? Then maybe <a href="http://www.codeproject.com/Articles/9197/Console-and-WinForm-together-for-easy-debugging" rel="nofollow noreferrer">this article</a> can help. It shows how to allocate a console window using native Win32 calls from managed code.</p> <p>If you want to use the configuration file that is bundled with the library and independent of the configuration file of your application <a href="https://stackoverflow.com/questions/594298/c-sharp-dll-config-file">this article</a> here on StackOverflow might be of interest.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload