I took a memory dump of IIS and while analyzing i found the error that said 'Could not load file or assembly MyAssemblyName.XmlSerializers'. In my code i am using XmlSerializer class to serialize and deserialize xml contents from xml file to custom object. When the project gets build it only creates MyAssembly.dll and MyAssembly.pdb file but not the MyAssembly.XmlSerializers.dll. Does anyone know how to enable my project to create xmlserializers.dll file?
Note: In project build tab, 'Generate serialization assembly is set to Auto.
Thanks.
There's an answer already here. Apparently this is "expected behaviour" that MS isn't going to fix.
The first comment has a workaround:
One of the possible ways to get rid of this problem is check "Just my code" option in Tools -> Options -> Debugging -> General options