OK, so I have returned somewhat to C# development this year after spending some years in the wilderness of Java development in Netbeans. One great tool I come across was JAXB which allows you to easily generate classes from a schema (XSD) definition.
Now I am aware there is an XSD.exe generator that I have used previously - after all that's how I found the JAXB in Netbeans - looking for the alternative.
With JAXB, all I had to do was import all the schema files into the Project within Netbeans and click on Compile. The result - a set of compiled classes to use.
XSD has been around a lot of years now - and we are now at the end of 2013.
I have not been able to hunt down as yet anything like the JAXB equivalent for Visual Studio.
Does such a simple tool exist where I do not need to mess around with any build configuration - so it will just compile and give me my classes?
Given that I will probably have to generate the classes automatically, what do people recommend for doing this?
At present, I just create my solution and projects from Visual Studio. In the past I might have added some command utils to the Pre-build command line.
Would the following link still be the best offering these days to do this?
This uses a batch file with the following pre-build task:
call "$(ProjectDir)"XSDBuilder.bat "$(ProjectDir)"\XSDs "$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\@InstallationFolder)bin\xsd.exe"
How will this affect things with Server builds - especially hosted on Visual Studio TFS?