Hi Giuseppe,

I looked at the code of the resgen task, and apparently it's not being
executed on the mono runtime right now.

The following comment is in the UsesRuntimeEngine property :

// TO-DO : uncomment this when monoresgen no longer crashes when run with
the mono runtime.

I think that comment was put there by Ian, but I haven't checked this.

Can you uncomment the code in in Resgen.UsesRuntimeEngine and try again ?

Gert

----- Original Message ----- 
From: "Giuseppe Greco" <[EMAIL PROTECTED]>
To: "NAnt Developers" <[EMAIL PROTECTED]>
Sent: Saturday, June 28, 2003 11:44 AM
Subject: [nant-dev] Problem with the <resgen> task on Linux


> Hi all,
>
> I've target like this:
>
> <target
>   name="build"
>   description="Builds resource binaries for de-DE culture">
>   <mkdir
>     dir="${build.dir}/bin/${culture}"
>     failonerror="false"/>
>   <resgen
>     input="${assembly}.resx"
>     output="${assembly}.${culture}.resources"
>     todir="${build.dir}/bin/${culture}"/>
>   <al
>     target="lib"
>     culture="${culture}"
>     output=${build.dir}/bin/${culture}/${assembly}.resources.dll">
>     <sources basedir="${build.dir}/bin/${culture}">
>       <includes name="*.resources"/>
>     </sources>
>   </al>
> </target>
>
> The target above just generates a .resources file and the
> related satellite resource assembly DLL.
>
> It works on Windows, but it doesn't on Linux!
> monoresgen complies like this:
>
> /home/genius/projects/gekkota/src/Gekkota.Core/de-DE/default.build(44,60):
>  <resgen task>/usr/local/bin/monoresgen.exe failed to start.
>
> Cannot find the specified file
>
> The *.resx file to compile is there and error free (otherwise it
> wouldn't have compiled on Windows)... Does anybody know more on this?
>
> Gius_.
> -- 
> ----------------------------------------
> Giuseppe Greco
>
> ::agamura::
>
> phone:  +41 (0)91 604 67 65
> mobile: +41 (0)76 390 60 32
> email:  [EMAIL PROTECTED]
> web:    www.agamura.com
> ----------------------------------------
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to