use the resources fileset element of the compiler task you're using.

eg. for a C# assembly use :

<csc .....>
    <sources>
        <includes name="**/*.cs" />
    </sources>
    <resources dynamicprefix="true" prefix="<have this correspond with the
rootnamespace configured in VS.NET>">
        <includes name="**/*.txt" />
    </resources>
</csc>

Hope this helps,

Gert
----- Original Message -----
From: "Lawrence Oluyede" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 26, 2004 12:41 PM
Subject: [Nant-users] embedding resource with nant


>
> How can I embed a resource (a simple txt file) into a dll with nant?
>
> --
> Lawrence
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to