Hi Mchael,
 
This is now fixed in cvs.
 
Gert


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nau, Michael
Sent: vrijdag 25 februari 2005 18:08
To: Gert Driesen; [email protected]
Subject: RE: [Nant-users] Accelerating Resource Creation on <csc>

Thanks for putting this in so quickly. I pulled the 2005-02-24 nightly build and am getting the following error when executing <csc>:
 
Resource generator needs either an input attribute, or a non-empty fileset.
 
I've tried both of the following, with the same result:
 
<resources basedir="${project.resources.dir}\${project.name}" prefix="${rootnamespace}" dynamicprefix="true">
  <include name="**\*.resx"/> 
</resources>                                   
 
<resources basedir="${project.resources.dir}\${project.name}" prefix="${rootnamespace}" dynamicprefix="true">
  <includesfile name="embeddedresources.txt"/>
<resources>       
 
Any ideas?
 
Mike.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen
Sent: Thursday, February 24, 2005 11:29 AM
To: Nau, Michael; [email protected]
Subject: RE: [Nant-users] Accelerating Resource Creation on <csc>

Hi Mike,
 
I've just modified the compiler tasks to use a single resgen task to compile all resx files, so you should see a (large) improvement in the next nightly build.
 
Gert
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nau, Michael
Sent: woensdag 23 februari 2005 23:31
To: [email protected]
Subject: [Nant-users] Accelerating Resource Creation on <csc>

Is there a way to accelerate the resource creation on the <csc> task. I can see that <csc> is calling <resgen> for all the files included in the <resourcefileset> attribute. It looks as if resgen is being called once for each files included in the <resourcefileset>.

I did some testing with calling resgen for a set of resx files. First I called the resgen task once for every resx file (similar to what it appears <csc> is doing) and the speed was in-line with what I see in the <csc> task. But when I call resgen and pass in a fileset of resx files, the resource generation is significantly faster?

Is there a way to setup the csc task to generate the resources in a single call, rather than one-by-one?

Thanks,
Mike.

Reply via email to