It actually makes sense - it depends on what type gets loaded with regards to ordering of types in assembly header metadata. As I said - it's an obscure debugger bug.

On 26/01/2011 8:17 PM, Lundberg, Per wrote:
Hi,

Thank you guys for the response to this. You were right - we tried running
the application (which is .NET 3.5-based) outside of the debugger, and it
worked correctly, so it's obviously the debugger freaking out somehow.

Even stranger: if we resolve the typed factories at an "earlier place" in
the application lifetime, it also works. So this is a good-enough
workaround for us, until we can make the move to .NET 4.0. Maybe this can
also help someone else...

Best regards,
Per

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Krzysztof
Kozmic
Sent: den 24 januari 2011 14:30
To: [email protected]
Subject: Re: Strange constraint violation problem with typed factories in
Castle Windsor 2.5.1

Yeah I remember that. Truly bizarre. And I do agree that it might be the
same issue.

Like I said before - I don't think there really is anything we can do as
(if it's indeed the same issue) the problem lies not in DynamicProxy but in
VS debugger.

Krzysztof

On 24/01/2011 10:26 PM, Konstantin wrote:
I've ran into similar issue some time ago .
Here is the
discussion
https://groups.google.com/d/topic/castle-project-users/40_6x7i1VBU/dis
cussion In few words it is most likely  .NET 3.5 issue and
reproducable only under debugger.
--
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.
--
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.


--
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