XAML Serialization object not using asp.net shadow copy

Posted by mrwayne on Stack Overflow See other posts from Stack Overflow or by mrwayne
Published on 2010-03-26T04:32:11Z Indexed on 2010/03/26 4:33 UTC
Read the original article Hit count: 519

Hi,

I'm having a problem where i use the XAML serializer / deserializer for a configuration type file that i have. The problem that i'm getting, is that the XAML serializer is returning objects from the assembly in the /Bin directory, while the rest of the web application is using assembly's stored in the ..../Temporary Files/.. directory.

Is there any way to prevent this from happening? Is this a bug in the XAML serializer / assembly loading routines?

Every time i compile i need to stop and start the asp.net application so the shadow copy and the bin are exactly the same file. Even when not making a change to the dll and recompiling still causes the problem.

Any thoughts on how to get around this problem?

Currently i've tried turning shadow copy off, but then i have the same problem of needing to shut down / start up the web app every time i compile.

Help!

© Stack Overflow or respective owner

Related posts about xaml

Related posts about xamlparseexception