this is not the full truth.
One could use the xsd command line tool (there is already a wrapper for this tool in NAnt Contrib) for doing things like this, but VS.NET does'nt. As I said it uses MSDataSetGenerator which has'nt got a commandline (The only exception are strongly typed datasets for managed extensions for C++ where the xsd tool is used) .
I've tried it and didn't get what i wanted (code files that can be checked using diff) - that's why I wrote this task.
Regards,
Brar
Martin Aliger schrieb:
yes - xsd.exe is just what MSDataSetGenerator runs.
btw: I just found that mono have also xsd.exe (http://www.mono-project.com/contributing/ado-net.html) so wrapper seems to be proper way. Moreover, it could be always reconfigurable (via nant framework config) to any custom generator like those mentioned below :-)
Martin Aliger
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James, Justin
Sent: Monday, February 14, 2005 6:09 PM
To: nant-developers@lists.sourceforge.net
Subject: RE: [nant-dev] DataSetGenerator
What Visual Studio uses is the xsd command line tool. Why not just create a wrapper for the xsd command line tool instead?
Later
________________________________
From: [EMAIL PROTECTED] on behalf of Martin Aliger
Sent: Mon 2/14/2005 10:03 AM
To: 'Brar Piening'; nant-developers@lists.sourceforge.net
Subject: RE: [nant-dev] DataSetGenerator
Hi,
there is also generator in the PowerToys project on gotdot net workspace
http://www.gotdotnet.com/workspaces/workspace.aspx?id=40d3e800
-e2af-4220-a07
9-66552dd2b825
Another one on http://www.thecodeproject.com/dotnet/InheritFromDataSet.asp.
But those generators do not generate identical results as MSDataSetGenerator (intentionally).
Anyway, it could be cool to have this as nant task! Even more if it works under mono (doesn't mono project have something like this?)
Martin Aliger
-----Original Message-----Behalf Of Brar
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
functionality ofPiening Sent: Monday, February 14, 2005 5:02 PM To: nant-developers@lists.sourceforge.net Subject: [nant-dev] DataSetGenerator
Hi there,
I've written a NAnt task which should implement the
MSDataSetGenerator (=The custom tool inside VS.NET which generates strongly typed datasets fromXML-Schema files).I've used
For testing the results against those of MSDatasetGenerator
diff.that came t my
Right now the results (for all kinds of DataSet-Schemas
& candidmind) are identical.
Are you interested in this task? Any chance to get it into NAnt-Contrib or even NAnt one day? Would you mind testing it ;-)
It' at: http://www.piening.info/downloads/DataSetGenerator-0.0.1-src.zip http://www.piening.info/downloads/DataSetGenerator-0.0.1_net-1.0.zip http://www.piening.info/downloads/DataSetGenerator-0.0.1_net-1.1.zip
Regards, Brar Piening
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest
reviews on hundreds of IT Products from real users.reading now.
Discover which products truly live up to the hype. Start
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers