Hi, Sophie....
 
I don't know if this is the same thing, but I ran into a problem with Infragistics license files.  By the time I had Gooled all over the world, I found an item buried in the vendor's site that essentially said to create and empty license file, and let the compile rebuild it.
 
E.g.:  ECHO  >license.licx (create a 0-length file)
 
Rod


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 9:15 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] lc.exe error


Hello,

I can compile my entire solution in VS.NET, to I am sure that I do not have a license issue or an installation error with Data Dynamic's Active Reports.

 But when I try to compile it in NANT using the solution target, I get the following error from lc.exe.  It can't seem to find the reference DataDynamics.ActiveReports.ActiveReports, ActiveReport.   However the ActiveReport.DLL is specified as a reference for this C# project, and I have also verified that the hint path for the project points to the correct version of ActiveReports.DLL.

Does anyone know how lc.exe looks for these references or why the NANT solution task can't find what VS.NET always finds?

I would appreciate any help that anyone could provide since I need to compile this project in NANT ASAP.

Thanks,

Sophie

solution]  - C:\GADOE\AYP05\ReportDesigner\licenses.licx
              [license] Output file 'C:\GADOE\AYP05\ReportDesigner\obj\Release\GADOE.AYP.Reports.dll.licenses' does not exist, rebuilding.
              [license] "Compiling license file 'C:\GADOE\AYP05\ReportDesigner\licenses.licx' to 'C:\GADOE\AYP05\ReportDesigner\obj\Release\GADOE.AYP.Reports.dll.licenses' using target 'GADOE.AYP.REPORTS.DLL'.
                             [copy] Copying 5 files to 'C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp'.
                             [copy] Copying 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\lc.exe' to 'C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp\lc.exe'.
                             [copy] Copying 'C:\GADOE\AYP05\Common\obj\Release\GADOE.AYP.Common.dll' to 'C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp\GADOE.AYP.Common.dll'.
                             [copy] Copying 'C:\GADOE\AYP05\Domain\obj\Release\GADOE.AYP.Domain.dll' to 'C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp\GADOE.AYP.Domain.dll'.
                             [copy] Copying 'C:\GADOE\FRAMEWORK\Bin\GADOE.SystemServices.dll' to 'C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp\GADOE.SystemServices.dll'.
                             [copy] Copying 'C:\GADOE\AYP05\DataAccess\obj\Release\GADOE.AYP.DataAccess.dll' to 'C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp\GADOE.AYP.DataAccess.dll'.
              [license] Starting 'C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp\lc.exe ( /target:"GADOE.AYP.REPORTS.DLL" /complist:"C:\GADOE\AYP05\ReportDesigner\licenses.licx" /outdir:"C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp" /nologo /v)' in 'C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp'
              [license] Processing complist 'C:\GADOE\AYP05\ReportDesigner\licenses.licx'...
              [license] C:\GADOE\AYP05\ReportDesigner\licenses.licx(1) : info LC0001 : Processing component entry 'DataDynamics.ActiveReports.ActiveReport, ActiveReports'
              [license] C:\GADOE\AYP05\ReportDesigner\licenses.licx(1) : error LC0003 : Unabled to resolve type 'DataDynamics.ActiveReports.ActiveReport, ActiveReports'
              [license] Creating Licenses file C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp\gadoe.ayp.reports.dll.licenses...

BUILD FAILED

External Program Failed: C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.tmp\lc.exe (return code was -1):
NAnt.Core.BuildException: External Program Failed: C:\DOCUME~1\SOPHIA~1.DOE\LOCALS~1\Temp\tmp778.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(String solutionConfiguration)
   at NAnt.VSNet.Resource.Compile(String solutionConfiguration)
   at NAnt.VSNet.ManagedProjectBase.WriteCompilerOptions(StreamWriter sw, String solutionConfiguration)
   at NAnt.VSNet.ManagedProjectBase.Build(String solutionConfiguration)
   at NAnt.VSNet.ProjectBase.Compile(String solutionConfiguration)
   at NAnt.VSNet.SolutionBase.Compile(String solutionConfiguration)
   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()

Reply via email to