I want to write code that creates an XSD based on a C# class.
I can't find information how to do this without using XSD.exe. Example class:
[XmlRoot("Sync")]
public class SyncFileSettings : ISyncSettings
{
public SyncFileSettings(int pingIntervalSec, bool useCompression)
{
PingIntervalSec = pingIntervalSec;
UseCompression = useCompression;
}
public int PingIntervalSec { get; set; }
public bool UseCompression { get; private set; }
}