Archive

Posts Tagged ‘nuget’

Auto-generating XML serialization classes – NuGet Edition

February 19th, 2011 No comments

A while back I posted about automatically generating the XML serialization classes from schemas referenced in BizTalk or other projects. This was a relatively simple T4 template that essentially does the same job as the XML Schema Definition tool (XSD.exe).

Since then I’ve also been really enjoying NuGet. If you’ve not heard about NuGet then I suggest heading over to the NuGet project on Codeplex, where there’s a good overview in the documentation.

Well, to cut a long story short, I’ve packaged up the T4 template into a NuGet package, XsdClassGen, and published it in the main NuGet feed. So now it’s really simple to add to your projects. Enjoy!