posted on Thursday, November 04, 2004 6:55 PM by stombeur

Custom tool to generate code from XSD in VS2005 beta 1

Chris Sells posted a VS.NET (2002 & 2003) custom add-in to generate code (C#, VB and J#) from xsd quite some time ago. I stumbled upon it while looking for a way to do this in VS2005B1.

With minor changes, the add-in works in VS2005B1 as well. The only thing that stumped me for a while there is that in VS2005B1 the generated code is created as 'dependent' upon the xsd, and is thus hidden until you enable 'Show all files' on the project and you click on the little '+' sign next to your xsd. I can't seem to remember if this happens in previous versions of VS as well.

You can find the changed file here.

Comments