Bugs item #1328383, was opened at 2005-10-17 08:24 Message generated for change (Settings changed) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1328383&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Other Group: 0.85 >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: Ondrea Spilka (ondrejspilka) Assigned to: Gert Driesen (drieseng) Summary: Resgen is slow Initial Comment: Hi, we have project that builds in 5 minutes on our build machine in VS2003 IDE, while with NAnt 0.85RC3 it takes almost 22 minutes. The slowest part of compilation is resgen. I tested on faster machine, but the ratio between IDE and NANT is the same. Some fix or idea how to make it faster? Really abusing to wait 25 minutes for beta version. Tx Ondra ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2006-01-05 10:39 Message: Logged In: YES user_id=707851 Using ResourceReader/ResourceWriter is not an option as that would no longer allow us to target different CLR versions. Compiled resources would then always target the CLR version on which NAnt is running. Resgen should be a lot faster in the nightly builds of NAnt (http://nant.sourceforge.net/nightly/latest). Can you try this and let us know if performance is acceptable ? ---------------------------------------------------------------------- Comment By: Richard Gavel (richardgavel) Date: 2006-01-05 01:59 Message: Logged In: YES user_id=1178525 Has anyone thought of redoing the resgen task to use the ResourceReader/ResourceWriter classes? Just create a new AppDomain, load the assemblies into the domain, and perform the conversion. VS doesn't actually call the resgen.exe, proven by the fact that deleting the app doesn't affect VS. Use of .NET reflector shows that using these classes is all it does too. With this, running resgen should be lightning fast: No need to copy resgen and assemblies to a separate temporary directory (which has to be cleaned up, too), and no process startup. The purpose of the AppDomain is to isolate the assemblies the resource conversion is exposed to. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1328383&group_id=31650 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers