Turns out that "arg" isn't defined by any [attribute]. It is manually
retrieved from the xml via the ExternalProgramBase.InitializeTask
method.

This is a lame hack, but something like:

[ElementName("args")]
class Args
{
        [TaskAttribute("value")]
        string _value;
        [TaskAttribute("file")]
        string _file;   
}

It will work for now, but I think we need some additional [attributes]
that are used for schema generation. Or a method of extending schema
generation.

Then we could do something more interesting.

-----Original Message-----
From: Ian MacLean
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] nant.xsd sample

Great work Scott. I notice Project is expected as uppercase and "arg" 
tags aren't handled in the csc task. target should have a depends 
attribute not a default attr.
This is really cool. the intellisense makes to so much quicker - no more

looking up the nant task reference every time I code a build file.

Ian





_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to