Duplicate: This is duplicate of Generating an Xml Serialization assembly as part of my build. Please close it as a duplicate.
How do I get Visual Studio to create and embed an XmlSerializer assembly into an msi during a build? I’m hoping to shave a couple of seconds off my app’s startup time.
Generating an Xml Serialization assembly as part of my build
http://social.msdn.microsoft.com/forums/en-US/sqlnetfx/thread/d252d732-5e5b-480b-8280-285636da7db1/