title: OnExit is not entering via PostSharp in asp.net project
body: <p>I have setup PostSharp and it appears to be working but i don't get it entering OnExit (i have logged setup to ensure it is working) ...</p>
  
  <p>Its a bit tricky to configure with asp.net - or is it just me ... I am using the 1.5 new version</p>
  
  <p>I basically have the following in my web.config and i had to add the SearchPath otherwise it can't find my assemblies</p>
  
  <pre><code>  &lt;postsharp directory="C:\Program Files\PostSharp 1.5" trace="true"&gt;
     &lt;parameters&gt;
       &lt;!--&lt;add name="parameter-name" value="parameter-value"/&gt;--&gt;
     &lt;/parameters&gt;
     &lt;searchPath&gt;
       &lt;!-- Always add the binary folder to the search path. --&gt;
       &lt;add name="bin" value="~\bin"/&gt;
     &lt;/searchPath&gt;
  
   &lt;/postsharp&gt;
  </code></pre>
  
  <p>I have set tracing on but what is strange to me is that it appears to build to the temp directory, maybe this is my issue, i am unsure .. hence i do F5  ... Is it possible to name the Output directory and output file?? As you can see it is editing a DLL in the temp dir so IIS is no longer in control so it doesn't execute it ???</p>
  
  <p>Confused! :-)</p>
  
  <hr>
  
  <p>C:\Program Files\PostSharp 1.5\postsharp.exe "/P:Output=C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysitemvc-1.2\c2087140\8ac2dc93\postsharp\App_Web_04ae3ewy.dll" "/P:IntermediateDirectory=C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysitemvc-1.2\c2087140\8ac2dc93\postsharp "  /P:CleanIntermediate=False /P:ReferenceDirectory=. /P:SignAssembly=False /P:PrivateKeyLocation= /P:ResolvedReferences= "/P:SearchPath=C:\Source Code\Visual Studio 2008\Projects\mysitemvc\mysitemvc\bin," /V /SkipAutoUpdate "C:\Program Files\PostSharp 1.5\Default.psproj" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysitemvc-1.2\c2087140\8ac2dc93\before-postsharp\App_Web_04ae3ewy.dll"</p>
  
  <p>PostSharp 1.5 [1.5.6.627] - Copyright (c) Gael Fraiteur, 2005-2009.</p>
  
  <p>info PS0035: C:\Windows\Microsoft.NET\Framework\v2.0.50727\ilasm.exe "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysitemvc-1.2\c2087140\8ac2dc93\postsharp\App_Web_04ae3ewy.il" /QUIET /DLL /PDB "/RESOURCE=C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysitemvc-1.2\c2087140\8ac2dc93\postsharp\App_Web_04ae3ewy.res" "/OUTPUT=C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mysitemvc-1.2\c2087140\8ac2dc93\postsharp\App_Web_04ae3ewy.dll" /SUBSYSTEM=3 /FLAGS=1 /BASE=18481152 /STACK=1048576 /ALIGNMENT=512 /MDV=v2.0.50727 </p>