I have tested it, and yes, the XSD task always runs even if the file has
not changed.

Patrick

-----Original Message-----
From: Colin Young [mailto:colin_young@;yahoo.com] 
Sent: Friday, October 18, 2002 10:27 AM
To: 'Tim Edalatpour'; [EMAIL PROTECTED]
Subject: RE: [nant-dev] User Task to generate typed dataset class

There is an XSD task. I've found however that it always executes even if
the file has not changed. At least it looks like it. I haven't had a
chance to test that, or notify the author (or try to implement a fix
myself).

<xsd schema="whatever.xsd" language="CS" outputdir="wherever"
target="dataset" />

Colin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:nant-developers-admin@;lists.sourceforge.net] On Behalf Of Tim
Edalatpour
Sent: Friday, October 18, 2002 13:02
To: [EMAIL PROTECTED]
Subject: [nant-dev] User Task to generate typed dataset class


I am evaluating the use of nant to enhance the Visual Studio solution
build we currently use for a project. One our our projects has a bunch
of typed datasets defined in XSD files and Visual studio generates class
wrappers automatically on save. I want to add a task to generate these
wrappers if the XSD files have changed, but there doesn't seem to be a
built-in task for this.

I would write one myself, but I cannot find anywhere in the
documentation a way to do this programmatically. The only solution seems
to be to call xsd.exe from the command line. So does anyone have a task
that will do this, or know how to generate these class wrappers (in VB
or C#) from within a .NET application?

Please copy me on any reply as I'm not on this list. And let me know if
the nant-users list would be more appropriate.

Thanks,
Tim



Choose an Internet access plan right for you -- try MSN! Click Here
------------------------------------------------------- This sf.net
email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nant-developers mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to