Hi Gert,

On Sat, 2003-06-28 at 13:48, Gert Driesen wrote:
> 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 ?

I've tried it, but it doesn't work at all.

This is the error message:

Error: Exception has been thrown by the target of an invocation.
Total time: 0 seconds.

May be that's why Ian commented out lines from 130 to 135 in
ResGenTask.cs ...

Gius_.

> 
> 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
> >
> >
-- 
----------------------------------------
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

Reply via email to