> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Curtis Zarger
> Sent: donderdag 30 juni 2005 16:10
> To: nant-users@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: [Nant-users] accessing methods in external DLLs
> 
> Hello,
> 
> I am managing builds for a project that encrypts their
> database connection strings in web.config.  Due to the
> hosting environment we're in, I need to change some
> values in the connection string.  I would like to be
> able to access the encrypt/decrypt methods in their
> DLL to do that.
> 
> It seems like this would be supported thru loadtask,
> but I'm not understanding how to reference the
> included class and method.  Can someone point me to an
> example?

You should use the <script> task for this purpose.

I'll upload a new nightly build later today, which contains an example for
this in the <script> task doc page:

http://nant.sourceforge.net/nightly/latest/help/tasks/script.html

It's the third example, but you'll have to wait until I finish uploading the
nightly build (which should be in about four hours or so).

Gert



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to