[Mono-dev] Creating DLL with ant task csc using gmcs.exe
s.staffan at gmail.com
Fri Jun 30 08:14:34 EDT 2006
I'm trying to get ant to generate a dll using the task <csc>. I's using
attribute "executable" to specify gmcs.exe.
The source files compiles ok but after that I get the error message:
[*csc*] error CS8088: Your .NET Runtime does not support `/target:module'.
Please use the latest Mono runtime instead.
I have .NET 2.0 installed. Version of mono is 22.214.171.124 (downloaded today).
Does anyone have an idea what the problem is? It works fine from the mono
Command executed (both in ant and at mono command prompt:
gmcs /nologo /debug- /optimize-
/target:module /nostdlib- /warn:3
... and a lot of .cs files...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list