XmlSerializers.dll file not uploaded ClickOnce Publish
I’d like to thank Troy Schmidt (whoever you are, where ever you are) for providing the following work around for a significant error that I have run into when using ClickOnce deployment. It is extremely important to validate that ClickOnce deployments are being published correctly.
The work around is…
Instead of using the Publish Now in the Publish tab of the Project’s properties, use the Publish in the Build Menu of the Toolbar. I have found that Publish setting that brings up the wizard versus the Publish Now button will include the XMLSerializers in VS2008 SP1.
What is interesting about this approach is that the XmlSerializers.dll file is not required to be uploaded when using the Publish option from the Build Menu. It seems that when you use the Publish button from within the Project Properties UI that an incorrect check for the XmlSerializers.dll file is created.
The link to the original support request is https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=354598&wa=wsignin1.0