Serialize() not using .XmlSerializers.dll produced with Sgen
Posted
by
MDE
on Stack Overflow
See other posts from Stack Overflow
or by MDE
Published on 2011-01-31T13:52:29Z
Indexed on
2011/01/31
15:25 UTC
Read the original article
Hit count: 183
I have a sgen step in my .NET 3.5 library, producing a correct XYZ.XmlSerializers.dll in the output directory. Still having poor serialization performance, I discovered that .NET was still invoking a csc at runtime. Using process monitor, I saw that .NET was searching for a dll named "XYZ.XmlSerializers.-1378521009.dll".
Why is there a '-1378521009' in the filename ? How to tell .NET to use the 'normal' DLL produced by sgen ?
© Stack Overflow or respective owner