Westwind.ApplicationConfiguration icon indicating copy to clipboard operation
Westwind.ApplicationConfiguration copied to clipboard

All setting classes must be public?

Open SharePointPog opened this issue 7 years ago • 2 comments

It looks like the xml file serializer will crash if a settings class is not public?

SharePointPog avatar Mar 25 '17 00:03 SharePointPog

ref:

                serializer = new XmlSerializer(objectType);

in SerializationUtils.cs line 304

SharePointPog avatar Mar 25 '17 00:03 SharePointPog

This article: http://stackoverflow.com/questions/6156692/how-can-i-serialize-internal-classes-using-xmlserializer

suggests that DataContractSerializer would be a way to solve this problem.

SharePointPog avatar Mar 25 '17 00:03 SharePointPog