Castle ProxyGenerator + Line-level Profiling

bthomp2420bthomp2420 Posts: 3
edited January 1, 2015 11:40PM in ANTS Performance Profiler 9
I've been running into a problem trying to perform some profiling recently that used work just fine (at least I don't remember ever encountering this issue before...)

Since some time around .NET 4.5, Windows 7, Performance Profiler 8, and Castle 3.2.0... line level profiling results in a security exception trying to construct a DynamicProxy ProxyGenerator instance.

I don't think this was an issue before, but I really don't know when it became a problem. Everything works fine when using method level profiling, however, the moment I switch to line-level it breaks down and I end up with an unhandled exception that takes down the application.

Any help with this would be greatly appreciated!


Sign In or Register to comment.