try
AppDomain.ExecuteAssembly("nant.exe",
Assembly.GetExecutingAssembly().Evidence, new string[] { "targetname" } );
-Erich
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan
Guedeney
Sent: Wednesday, October 24, 2007 4:3
Calling nant.exe from command line on a local drive.
Unhandled Exception: System.TypeInitializationException: The type initializer
for 'NAnt.Console.ConsoleStub' threw an exception. --->
System.IO.FileLoadException: Could not load file or assembly 'log4net,
Version=1.2.9.0, Culture=neutral, Pub
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MattOwens wrote:
> Add the following lines to your nant.exe.config file under
>
>
>
>publicKeyToken="96d09a1eb7f44a77" culture="Neutral" />
>
>
>
>
>
> That should work.
> Matt
>
>
Hi
On 10/12/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> There is a what appears to be long known bug with the task in
> that it launches notepad awaiting a user to edit/close it before
> continuing. Clearly this is not at all desirable in an automated build.
>
> I found this posting from two y
I'm creating a C# console program that needs to pass in NANT's command line
arguments and execute a task from a NANT buildfile. Does anyone have a code
snippet on how to do this?
-
This SF.net email is sponsored by: Splu