|
The link to the Boolean custom function
helped. My first problem was that “using
NAnt.Core.Types” was not in the examples I’d seen so far, and that’s
where Function and FunctionSet are picked up from. My second problem was that when I copied my
.dll to the nant bin directory and tried to call my function from a build file
I got: Unknown function <myfunction> I had to use <loadtasks … />
to load my custom function definition. Is this a bug? I’m executing the function now, so
things are much better. Thanks, Jody From: Gert Driesen
[mailto:[EMAIL PROTECTED] Hi Jody, I'm not sure where you found that information, but Function
and FunctionSet have not been replaced. For an example, you can always check out the custom functions
that are part of the NAnt distibution. Here's an example of an inline function that checks
whether a given assembly is deployed in BizTalk: <script language="C#"
prefix="biztalk"> Hope this helps, Gert ----- Original Message ----- From: "Jody Williams" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, March 07, 2006 3:08 AM Subject: [NAnt-users] C# custom function I've just started using NAnt, and
the documentation I've found on |
- [NAnt-users] C# custom function Jody Williams
- Re: [NAnt-users] C# custom function Gert Driesen
- RE: [NAnt-users] C# custom function Jody Williams
- RE: [NAnt-users] C# custom function Gert Driesen
- RE: [NAnt-users] C# custom function Jody Williams
- RE: [NAnt-users] C# custom function Gert Driesen
