Could not load file or assembly 'MyAssembly.XmlSerializers [duplicate]
问题 This question already has answers here : XmlSerializer giving FileNotFoundException at constructor (18 answers) Closed 3 months ago . 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