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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to