Hamza, I modifed the <resgen> task (which is used by the solution task to compile the resx files) to check whether the resx file references third party assemblies, and if not it skip the step where it copied all referenced assemblies and resgen.exe to a temp directory (to allow resgen to resolve these assembly references).
The reason why the <solution> task is slower than VS.NET is because we used command-line tools to compile resources, import com references, ... The reason why we don't use the base class library to perform this, is that we support multiple .NET framework versions (while VS.NET does NOT). That being said, I'm pretty sure there's still room for improvement, so if you can send me a repro that shows large performance differences I'll be glad to look into it. Gert > -----Original Message----- > From: Hamza Zeen-Aldin [mailto:[EMAIL PROTECTED] > Sent: vrijdag 5 november 2004 4:53 > To: Gert Driesen > Subject: RE: [Nant-users] Solution Task fails because of License > > > Gert, > > I have used the latest nightly build on our big solution, I noticed a > little bit of improvment but still a lot slower than VS. It's > about 150 > seconds faster now. Can you breiflly inform me of what you changed in > the solution task? > > Thanks, > Hamzah > > On Thu, 4 Nov 2004 06:56:46 +0100, "Gert Driesen" > <[EMAIL PROTECTED]> said: > > Hamza, > > > > Brcause VS.NET uses the .NET classes to compile resx files, > and we use > > resgen.exe. To support references to third party > assemblies, we need copy > > all the referenced assemblies and resgen.exe itself to a temporary > > directory > > in order to compile the resx file. > > > > However, yesterday I've introduced a speedup for this so I would be > > grateful > > if you could test the latest nightly build. > > > > Thanks ! > > > > Gert > > > > > -----Original Message----- > > > From: Hamza Zeen-Aldin [mailto:[EMAIL PROTECTED] > > > Sent: donderdag 4 november 2004 2:10 > > > To: Gert Driesen > > > Subject: RE: [Nant-users] Solution Task fails because of License > > > > > > > > > Gert, > > > > > > Yes I do, we use many typed datasets and there is a big > > > number of resx > > > files. Why would that affect the speed of the solution task? > > > > > > Thanks, > > > Hamza > > > > > > On Wed, 3 Nov 2004 18:14:57 +0100, "Gert Driesen" > > > <[EMAIL PROTECTED]> said: > > > > Hamza, > > > > > > > > Do you have a lot of resx files in your solution/projects ? > > > > > > > > Gert > > > > > > > > > -----Original Message----- > > > > > From: Hamza Zeen-Aldin [mailto:[EMAIL PROTECTED] > > > > > Sent: woensdag 3 november 2004 17:13 > > > > > To: Gert Driesen > > > > > Subject: RE: [Nant-users] Solution Task fails because > of License > > > > > > > > > > Thank you Gert, after I made all versions the same > > > everything worked. > > > > > But the solution task a lot slower than devenv, it > takes about 600 > > > > > seconds while devenv takes only 200 seconds. Any ideas? > > > > > > > > > > Z > > > > > > > > > > On Tue, 2 Nov 2004 19:54:17 +0100, "Gert Driesen" > > > > > <[EMAIL PROTECTED]> said: > > > > > > Hi, > > > > > > > > > > > > I can't explain why it does work in VS.NET, but the > > > version of the > > > > > > Janus.Windows.GridEX assembly in the licenses.licx file > > > > > does not match > > > > > > the > > > > > > actual version of that assembly (1.0.2570.0 verus > > > > > 1.0.2605.0). Apparently > > > > > > VS.NET ignores version differences (which is definitely not > > > > > correct). > > > > > > > > > > > > When I corrected this, everything worked fine in NAnt. > > > > > > > > > > > > Gert > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Hamza Zeen-Aldin [mailto:[EMAIL PROTECTED] > > > > > > > Sent: dinsdag 2 november 2004 17:44 > > > > > > > To: Gert Driesen > > > > > > > Subject: RE: [Nant-users] Solution Task fails because > > > of License > > > > > > > > > > > > > > Hi Gert, > > > > > > > > > > > > > > Attached is a zipped solution to reproduce the problem. I > > > > > > > just created a > > > > > > > dummy form and placed the 3rd party control on it. the > > > > > solution task > > > > > > > works fine with debug mode but not with release mode. > > > > > The 3rd party > > > > > > > Dlls are in the same folder as the project file (.csproj) > > > > > > > > > > > > > > I am using it in my build file like this: > > > > > > > > > > > > > > <solution solutionfile="D:\Z\Programming files\Janus > > > test\z1.sln" > > > > > > > configuration="release" /> > > > > > > > > > > > > > > I have also included the Nant log. > > > > > > > > > > > > > > Thanks, > > > > > > > Z > > > > > > > > > > > > > > > > > > > > > On Tue, 2 Nov 2004 05:55:57 +0100, "Gert Driesen" > > > > > > > <[EMAIL PROTECTED]> said: > > > > > > > > Hi, > > > > > > > > > > > > > > > > Would it be possible to send us a small repro, > including > > > > > > > the licensed > > > > > > > > assemblies (a trial version would be sufficient) ? > > > > > > > > > > > > > > > > License compilation seems to be something very tricky, > > > > > we've been > > > > > > > > struggling > > > > > > > > to get it right for quite a while already ... > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > Gert > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > > From: [EMAIL PROTECTED] > > > > > > > > > [mailto:[EMAIL PROTECTED] > > > On Behalf Of > > > > > > > > > Hamza Zeen-Aldin > > > > > > > > > Sent: maandag 1 november 2004 21:03 > > > > > > > > > To: Nant users list > > > > > > > > > Subject: [Nant-users] Solution Task fails because > > > of License > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > I usually use devenv to compile my soultion files, I > > > > > > > tried to use the > > > > > > > > > solution task and it failed when trying to > resolve the > > > > > > > license file. > > > > > > > > > Developers use Janus grid as a 3rd party grid > and we have > > > > > > > a registered > > > > > > > > > version. Below is the part that if failed on, I > > > can send the > > > > > > > > > full build > > > > > > > > > log file if needed: > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > Z > > > > > > > > > > > > > > > > > > [copy] Copying > > > > > > > > > > > > 'd:\p4\DM\OMS3.2.0\.NET\Apps\OMS\BusinessFacade\BussinessFacad > > > > > > > > > > > > e.Interfaces\bin\Release\TMPWorldwide.OMS.BusinessFacade.Inter > > > > > > > > > faces.dll' > > > > > > > > > to > > > > > > > > > > > > > > > > > > > > > > > > > 'c:\temp\tmp222.tmp\TMPWorldwide.OMS.BusinessFacade.Interfaces.dll'. > > > > > > > > > [license] Starting > > > 'c:\temp\tmp222.tmp\lc.exe ( > > > > > > > > > > > > > > > > > > > > > > > > /target:"TMPWORLDWIDE.OMS.WINDOWS.FORMS.INBOUNDDATA.PREPAY.DLL" > > > > > > > > > > > > > > > > > > > > > /complist:"d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\I > > > > > > > > > nboundData.PrePay\licenses.licx" > > > > > > > > > /outdir:"c:\temp\tmp222.tmp" > /nologo /v)' in > > > > > > > > > 'c:\temp\tmp222.tmp' > > > > > > > > > [license] Processing complist > > > > > > > > > > > > > > > > > > > > > 'd:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData > > > > > > > > > .PrePay\licenses.licx'... > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(1) > > > > > > > > > : info LC0001 : Processing > component entry > > > > > > > > > 'Janus.Windows.GridEX.GridEX, > > > > > Janus.Windows.GridEX, > > > > > > > > > Version=1.0.2571.0, Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(1) > > > > > > > > > : error LC0003 : Unabled to resolve type > > > > > > > > > 'Janus.Windows.GridEX.GridEX, > > > > > Janus.Windows.GridEX, > > > > > > > > > Version=1.0.2571.0, Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(2) > > > > > > > > > : info LC0001 : Processing > component entry > > > > > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.IntegerUpDown, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(2) > > > > > > > > > : error LC0003 : Unabled to resolve type > > > > > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.IntegerUpDown, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(3) > > > > > > > > > : info LC0001 : Processing > component entry > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.MaskEdit, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(3) > > > > > > > > > : error LC0003 : Unabled to resolve type > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.MaskEdit, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(4) > > > > > > > > > : info LC0001 : Processing > component entry > > > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.NumericEdit, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(4) > > > > > > > > > : error LC0003 : Unabled to resolve type > > > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.NumericEdit, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(5) > > > > > > > > > : info LC0001 : Processing > component entry > > > > > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.ValueListUpDown, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(5) > > > > > > > > > : error LC0003 : Unabled to resolve type > > > > > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.ValueListUpDown, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(6) > > > > > > > > > : info LC0001 : Processing > component entry > > > > > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.MultiColumnCombo, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] > > > > > > > > > > > > > > > > > > > > > d:\p4\DM\OMS3.2.0\.NET\Apps\OMS\WinUI\InboundData\InboundData. > > > > > > > > > PrePay\licenses.licx(6) > > > > > > > > > : error LC0003 : Unabled to resolve type > > > > > > > > > > > > > > 'Janus.Windows.GridEX.EditControls.MultiColumnCombo, > > > > > > > > > Janus.Windows.GridEX, > Version=1.0.2571.0, > > > > > > > > > Culture=neutral, > > > > > > > > > PublicKeyToken=21d5517571b185bf' > > > > > > > > > [license] Creating Licenses file > > > > > > > > > > > > > > > > > > > > > c:\temp\tmp222.tmp\tmpworldwide.oms.windows.forms.inbounddata. > > > > > > > > > prepay.dll.licenses... > > > > > > > > > > > > > > > > > > Failure: > > > > > > > > > > > > > > > > > > > > > > > > > > > BUILD FAILED > > > > > > > > > > > > > > > > > > External Program Failed: > > > c:\temp\tmp222.tmp\lc.exe (return > > > > > > > > > code was -1): > > > > > > > > > NAnt.Core.BuildException: External Program Failed: > > > > > > > > > c:\temp\tmp222.tmp\lc.exe (return code was -1) > > > > > > > > > at > NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() > > > > > > > > > at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() > > > > > > > > > at NAnt.Core.Task.Execute() > > > > > > > > > at > > > NAnt.VSNet.Resource.CompileLicx(ConfigurationSettings > > > > > > > > > configurationSettings) > > > > > > > > > at > NAnt.VSNet.Resource.Compile(ConfigurationSettings > > > > > > > > > configurationSettings) > > > > > > > > > at NAnt.VSNet.Project.Build(ConfigurationBase > > > > > > > > > configurationSettings) > > > > > > > > > at NAnt.VSNet.ProjectBase.Compile(String > configuration) > > > > > > > > > at NAnt.VSNet.Solution.Compile(String > configuration) > > > > > > > > > at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() > > > > > > > > > at NAnt.Core.Task.Execute() > > > > > > > > > at NAnt.Core.Target.Execute() > > > > > > > > > at NAnt.Core.Project.Execute(String > targetName, Boolean > > > > > > > > > forceDependencies) > > > > > > > > > at NAnt.Core.Project.Execute() > > > > > > > > > at NAnt.Core.Project.Run() > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > This SF.Net email is sponsored by: > > > > > > > > > Sybase ASE Linux Express Edition - download > now for FREE > > > > > > > > > LinuxWorld Reader's Choice Award Winner for > best database > > > > > > > on Linux. > > > > > > > > > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > > > > > > > > _______________________________________________ > > > > > > > > > Nant-users mailing list > > > > > > > > > [EMAIL PROTECTED] > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/nant-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
