Matthew Mastracci wrote:

I noticed some people talking earlier about having "build events" on the solution task. Perhaps it might be useful to add each file, as it was compiled, to a named fileset and run a task (such as FxCop or obfuscation) on all the files after. What do you think?

We could probably do it by writing each one to a file and then use an include that reads from a file as well, but adding the files to an existing fileset might be easier. :)

What about something like this?

<fileset id="foo" mode="append"> ... </fileset>
<fileset id="foo" mode="remove"> ... </fileset>


hmm - it puts me in mind of the new feture in whitby where you 'll be able to re-open a c# class definition - multi-file classes. I'm worried that it could make readability a bit difficult. You could have to trace thru the execution path of the build file to see exacly which fileset you were using.


Ian



Matt.


Ian MacLean wrote:

how do you mean ? do you mean with code -inside a task or in the build file itself ? Right now you could add to a named fileset using code - since all references to a given type id are using the same instance of the fileset. This is due to an implementation detail that may change however.
Inside the build file is a different matter. I'm not sure we should allow redefinition of a named fileset - can you think of a case where this would be useful ?


Ian

Is it possible to add files to a named fileset once it has been created, or do you need to recreate it?

Matt.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers







------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers






-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to