XmlSerializer obfuscation support?
<p>I have the following</p>

<pre>[XmlType("Settings")]
public class Settings
{
    [XmlElement("Directory")]
    public string Directory { get; set; }

    public Settings()
    {
        Directory = "/"
    }
}</pre>

<p>But when my program is obfuscated it complains about it not being CLS-compliant. I thought declaring the names in an attribute would work but apparently not. Is there a way to fix this without  excluding it from obfuscating? Also how do you remove the stuff like</p>

<pre>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"</pre>
