Your issue sounds similar to:
http://support.castleproject.org/projects/DYNPROXY/issues/view/DYNPROXY-ISSUE-72

I am assuming it is caused by this BCL bug which we have no control over:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=472622

On Thu, Sep 24, 2009 at 5:06 AM, jr76 <[email protected]> wrote:

>
> Since moving to Dynamic Proxy 2, we have noticed that our application,
> which uses NHibernate, runs *extremely* slowly when the VS debugger is
> attached (calls that normally take about 1 second are taking up to 40
> seconds to complete).  Using dotTrace, we have tracked this down to
> the System.Reflection.Emit.TypeBuilder.CreateType() method, which is
> called by DP when it creates hibernate proxies.  We never saw this
> behaviour with DP 1.
>
> Any ideas what might be causing this?  Incidentally, it does not
> happen when the debugger is attached through Task Manager - it only
> happens when the debugger is launched or attached from VS.
>
> >
>


-- 
Jono

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to