Skip to content

Question: Use at build time? #519

Answered by mganss
M-Schiller asked this question in Q&A
Jun 24, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

I think the easiest way is to use xscgen as a local tool.

Another option of course is to use the XmlSchemaClassGenerator library in a custom console app that can be part of your solution. This may sound harder than it is, should be only a few lines.

In #281 @shuebner started an effort to create a source generator which would probably be ideal for your use case, but unfortunately it has stalled.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@M-Schiller
Comment options

@shuebner
Comment options

Answer selected by M-Schiller
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #518 on June 24, 2024 14:44.