More on Typed DataSets

Just noticed that if you should happen to use:
codegen:nullValue="_empty"

on something else than a string the MSDataSetGenerator will fail to generate any code file at all. Usually when errors are detected in the XSD both the xsx and cs file is generated with only an error message, but now this did not happen.

When having problems with the xsd and autogeneration of the typed dataset it can be useful to open the Visual Studio .NET Command Prompt and run "xsd.exe /dataset myDataSet.xsd" to see the actual errormessages.

No Comments