----- Original Message ----- 
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Cc: "Delmerico, James" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, May 19, 2004 5:34 AM
Subject: Re: [Nant-users] SerializationException with custom type embedded
in resource


> Gert Driesen wrote:
>
> >We could ofcourse deal with this ourselves, and copy the dependent
> >assemblies and resgen.exe to a temporary directory and launch resgen from
> >there ...
> >
> >
> >
> that seems preferable to failing. By dependent assemblies would we just
> use those that are in the compiler tasks fileset ?

Yes, we should use those ...

> Or should we be
> adding a fileset to the <resgen> task so that assemblies can be resolved
> correctly ?

If we want to have this logic in ResGenTask (and I'm pretty sure this is
what we want), then we should add it there ...  There will ofcourse be a
larger overhead involved (as the file copy process will be repeated for each
resx file, but I think we can live with that until .NET 2.0 is released) ...

Come to think of it ... we could use the same mechanism to workaround our
problems with the <license> task (why the hell didn't I think of this
before).  Lc.exe does accept assembly references, but there's a bug that
prevents it from working at all (and its fixed in .NET 2.0) ...

Gert



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to