C
C#11mo ago
Legion

Automate creation of XSD during build

Hi, I have a data model in an assembly used to read program configuration. I would like to generate an XSD during build, I can do this using XmlSchema. Howevever, I'm not sure how best to automate this. One way I've done it previously is using a side project in the same solution which i do a debug run from, it loads in the main assembly and dumps the file, but its not a very elegant solution. I cannot use XSD.exe because I develop on both Windows and Linux. Any advice? Thanks :) A generic description of the problem is, I need to: Compile the assembly -> load the assembly -> generate addition files based on the assembly. All in the same build.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server