Bugs item #910265, was opened at 2004-03-05 07:12
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=910265&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: David Bost (dbost)
Assigned to: Gert Driesen (drieseng)
Summary: dll already loaded during LicenseTask

Initial Comment:
I'm trying to help one of my clients convert over to 
using NAnt.  I've been using NAnt in other projects for 
close to two years now.  This particular problem has me 
feeling a little perplexed.

My client's project is an ASP.NET application that 
incorporates both Crystal and Infragistics components.  
When building the application I get an error stating:

            Failed to create license file 
for 'C:\Projects\EC\source\web\licenses.licx'.
                Assembly 
crystaldecisions.crystalreports.engine.dll already loaded 
without additional security evidence.

Included is a test project ('TestProj') that replicates the 
problem.

I tried both build 0.84 and the latest nightly build with 
no success.  I noticed in the LicenseTask.cs file for build 
0.84+, the source doesn't check for already loaded 
DLLs, but in the 0.83 version it does.  I tried using v0.83 
but encounterd other issues that I'll have to tackle if 
this particular issues isn't addressed soon.


----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2004-03-11 10:27

Message:
Logged In: YES 
user_id=707851

Frank,

Can you please attach a repro containing all files (including 
infragistics assemblies) necessary to reproduce this issue (or 
email it to me directly) ?

Thanks !

Gert

----------------------------------------------------------------------

Comment By: Frank Tamminga (ftamminga)
Date: 2004-03-11 10:14

Message:
Logged In: YES 
user_id=994803

Same problem (License attribute not found) here, also with 
Infragistics, but now the UltraWebGrid.

Any ideas?

I used the nightly build 0.85 of 2004-03-08

piece of output:

                          [license] C:\Program 
Files\Infragistics\UltraWebGrid\v2.1
\Infragistics.WebUI.UltraWebGrid.v2.dll (loaded)
                          [license] Creating licenses ...
                          [license] 
Infragistics.WebUI.UltraWebGrid.UltraWebGrid, 
Infragistics.WebUI.UltraWebGrid.v2, Version=2.1.20033.4, 
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb:
                          [license] file:///C:/Program 
Files/Infragistics/UltraWebGrid/v2.1/Infragistics.WebUI.UltraWe
bGrid.v2.dll

            BUILD FAILED

            Failed to create license for 
type 'Infragistics.WebUI.UltraWebGrid.U
ltraWebGrid'.
                License attribute not found

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2004-03-05 20:20

Message:
Logged In: YES 
user_id=707851

David,

I've fixed that last issue, and I'm uploaded a new nightly build 
right now ...

Thanks !

----------------------------------------------------------------------

Comment By: David Bost (dbost)
Date: 2004-03-05 19:47

Message:
Logged In: YES 
user_id=163035

The License attribute not found has been tracked down to 
user error.  However a new error has popped up with the 
latest nightly build.  There seems to be some problem with 
the resgen task.

 [solution] Compiling resources:
 [solution]  - 
C:\Projects\eCor\source\web\painmgmt\education\pt_therapie
s.aspx.resx
               [resgen] Starting 'C:\Program Files\Microsoft 
Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe 
("C:\Projects\eCor\so
urce\web\painmgmt\education\pt_therapies.aspx.resx" "C:\TE
MP\4ugdtkt8
\painmgmt\education\pt_therapies.aspx.resources")' in 'C:\Pro
jects\eCor'
                        Read in 0 resources 
from 'C:\Projects\eCor\source\web\painmgmt\education\pt_th
erapies.aspx.resx'
                        error: Couldn't write output 
file 'C:\TEMP\4ugdtkt8
\painmgmt\education\pt_therapies.aspx.resources'
                        error: Specific exception: 
DirectoryNotFoundException  Message: Could not find a part 
of the path "C:\TEMP
\4ugdtkt8\painmgmt\education\pt_therapies.aspx.resources".
                        2 error(s).

            BUILD FAILED

            External Program Failed: C:\Program Files\Microsoft 
Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe (return 
code was -
1163019603):
            NAnt.Core.BuildException: External Program Failed: 
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1
\bin\res
gen.exe (return code was -1163019603)

Any thoughts?

----------------------------------------------------------------------

Comment By: David Bost (dbost)
Date: 2004-03-05 18:04

Message:
Logged In: YES 
user_id=163035

The nant-0.85-20040305 build took me past my initial problem 
but not I'm getting a different error stating:

License attribute not found.

The same test project was used The output stream is 
included as 'nant.out'.  And this time I remembered to check 
the upload checkbox. :)



----------------------------------------------------------------------

Comment By: David Bost (dbost)
Date: 2004-03-05 16:32

Message:
Logged In: YES 
user_id=163035

Looks like I forgot to check the checkbox to upload the file.  
I'll learn.

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2004-03-05 10:45

Message:
Logged In: YES 
user_id=707851

David, apparently you forgot to added the test project.

However, I just made a few changes that might resolved your 
issue.  Can you try this using the next nightly build, which 
should be available later today 
(http://nant.sourceforge.net/nightly/builds) ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=910265&group_id=31650


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

Reply via email to