Integrate with VS as a "Custom Tool"

Nov 24, 2008 at 3:48 PM
It would be nice if the generator would be called automatically when I change something to the xsd. Visual Studio has a feature for this behaviour, called "Custom Tool", visible as a property of a .xsd file.
MSDataSetGenerator is an example of such a custom tool.

I hope you can put this on the feature request list.
Dec 17, 2008 at 9:12 PM
Sure !
I'll work on this soon.
Thank you for you feedback.
Jan 22, 2009 at 10:09 PM
Xsd2Code can now generate directly code when xsd file is modified.
The customtool will beavailable in version 2.8.

Jan 23, 2009 at 7:01 PM
Great! I will try it out next week.
Jan 26, 2009 at 2:03 PM
The new version 2.8 is available. This version include Xsd2CodeCustomTool.
Good use.
Oct 29, 2010 at 6:17 PM

Although the example on the  XSD2Code download page has "XSD2CodeCustomTool" in the Custom Tool option in the file properties, using that will cause a "file not found " error in the compiler.  Would you please explain how to make XSD2Code run atumatically?  I must not have things set up in Visual Studio 2010 properly.



Oct 30, 2010 at 9:07 AM


You must enter Xsd2CodeCustomTool instead of XSD2CodeCustomTool.