Can you please try using the <solution> task again using the latest NAnt
nightly build (http://nant.sourceforge.net/nightly/builds) ?

Gert
----- Original Message ----- 
From: "Dave Bost" <[EMAIL PROTECTED]>
To: "'Peter McEvoy'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, March 08, 2004 4:33 PM
Subject: RE: [Nant-users] ASP.NET Projects with references to Infragistics


> The path I'm going down is to set the compile option for the licenses.licx
> file from 'Embedded Resource' to 'None'.  This skips the LicenseTask
process
> and gives me a clean build.  I'm assuming I have to use the <license> task
> to handle the .licx file but so far the app works without me doing
anything
> to the .licx file.  Kind of makes me wonder what the .licx is for.  Maybe
> it's just for design time.
>
>
>
> Dave B.
>
>
>
>   _____
>
> From: Peter McEvoy [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 08, 2004 2:56 AM
> To: Dave Bost; [EMAIL PROTECTED]
> Subject: RE: [Nant-users] ASP.NET Projects with references to Infragistics
>
>
>
> We are using infragistics as well (in fact the two components that you
> specify).  I found we could not use the solution task at all when a
licensed
> component was being used (the exact same error as you - this was visible
> even in version 0.852004026).  We believe that the solution task when
using
> the license task references the wrong outputdir.
>
>
>
> We needed to break the building of the web app into several smaller steps:
>
> Use the <license> task to create a .license file from the license.licx
>
> Use <resgen> to generate resources from **.resx
>
> use the <csc> task to compile **.cs - the <csc> must use a nested
> <resources> element, referencing the .resources and .licenses files.
>
>
>
> Not ideal, but I could not create a test case that demonstrated the
problem
> for nant-devel (as I am not entitled to send on the infragistics
component)
>
>
>
> (if there is a way that I can submit a test case using license stubs, I
> would be happy to try to build one...)
>
>
>
> Pete
>
> -----Original Message-----
> From: Dave Bost [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2004 21:12
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] ASP.NET Projects with references to Infragistics
>
> Is anyone else using NAnt to build their ASP.NET projects that reference
the
> Infragistics components?  I'm trying to get my client converted over to
> using NAnt.  They are using two components from Infragistics, UltraWebMenu
> and UltraWebChart.
>
>
>
> When you drop the Infragistics component on a form, the environment
> automatically generates the licenses.licx file within your project.  When
I
> use NAnt to build my project, I get the following error:
>
>
>
>               [license] Creating licenses ...
>
>               [license] Infragistics.WebUI.UltraWebNavigator.UltraWebMenu,
> Infragistics.WebUI.UltraWebNavigator.v2, Version=2.0.50
>
> 00.118, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb:
>
>               [license]
>
file:///C:/Inetpub/wwwroot/LicProject/Lib/Infragistics.WebUI.UltraWebNavigat
> or.v2.dll
>
>
>
>             BUILD FAILED
>
>
>
>             Failed to create license for type
> 'Infragistics.WebUI.UltraWebNavigator.UltraWebMenu'.:
>
>             NAnt.Core.BuildException: Failed to create license for type
> 'Infragistics.WebUI.UltraWebNavigator.UltraWebMenu'. --->
>
> System.Exception: License attribute not found
>
>                --- End of inner exception stack trace ---
>
>
>
>             Server stack trace:
>
>                at
> NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask
licenseTask,
> String licenseFile) in c:\Documents
>
>  and Settings\Administrator\Local
> Settings\Temp\tmp279.tmp\src\NAnt.DotNet\Tasks\LicenseTask.cs:line 386
>
>
>
> >From what I can tell, Infragistics keeps it's licensing info in another
dll,
> Infragistics.WebUI.Shared.dll.  Might that be the problem?  Is NAnt not
> compatible with projects referencing Infragistics?
>
>
>
> If you have an ASP.NET application that references the Infragistics
> components, how did you get yours to work?  What version of NAnt are you
> running?
>
>
>
> Thanks for the help.
>
>
>
> dave bost | director of technology | solution partners, inc. | o:
> 630.416.1335 x12 | c: 630.650.9012 | [EMAIL PROTECTED]
>
>
>
>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to