I have an enum type like this:
<xs:simpleType name="BaseEnumType">
<xs:restriction base="xs:string">
<xs:enumeration value="Choice1"/>
<xs:enumeration value="Choice2"/>
</xs:restriction>
</xs:simpleType>
From this i generate a C# class & a C header file. This is the built and deployed, and i don't want to have to rebuild as in our dev cycle these can change quite a lot, bu the tool that uses them needs to use them without being re-compiled.
Now I need to add Choice3. I can have Choice3 defined anywhere/anyhow so long as i don't have to re-generate my class/header. For example, I could have the Choice3 defined in an XML file, or even a txt file. But as the class is generated from the xsd file i cant have it defined there.
Is this even possible? and if so how might I implement it?
Many kind thanks in advance.