Gert Driesen wrote:


Now, A few remarks on the task itself :

- if you want to allow the task to be used on Mono, you need to add a task
section to the NAnt configuration file.


done.

- the Mono ilasm supports only a very limited commandline interface :

Mono ILasm compiler
ilasm [options] source-files
  --about            About the Mono ILasm compiler
  --version          Print the version number of the Mono ILasm compiler
  /output:file_name  Specifies output file.
  /exe               Compile to executable.
  /dll               Compile to library.
Options can be of the form -option or /option

   We can cope with this in two ways : have the task check whether we're on
Mono, and disregard some options if we are.  Or we could add some
FrameworkConfigurable properties that indicate if a given option is
supported by ildasm of a given framework.  This might be the cleanest
solution.



Actually this isn't an issue. There is code in mono's ilasm exe to explicitly check for and ignore the extra ms command args.

Ian

--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to