Hi, I want to use the license
task : <license input="C:\temp\test_licence\test1.licx"
output="test1" target="test.exe"
verbose="true"> <assemblies> <include name="C:\Program Files\Chart FX
for Visual Studio
2005\bin\ChartFX.WinForms.dll"/> </assemblies> </license> And I have
this message : NAnt 0.85 (Build
0.85.2173.0; nightly; 13/12/2005) Copyright (C)
2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Temp/test_licence/test.build Target
framework: Microsoft .NET Framework 2.0 Target(s) specified:
licence licence: [license] Output file 'C:\Temp\test_licence\test1'
does not exist, rebuilding. [license] "Compiling license file 'C:\temp\test_licence\test1.licx'
to 'C:\Temp\test_licence\test1' using target 'test.exe'. [license] Starting 'C:\Program
Files\Microsoft.NET\SDK\v2.0\bin\lc.exe ( /target:"test.exe" /complist:"C:\temp\test_licence\test1.licx"
/outdir:"C:\Documents and Settings\BUILD\Local Settings\Temp\4\tmp1BC.tmp"
/nologo /v)' in 'C:\Documents and Settings\BUILD\Local Settings\Temp\4\tmp1BC.tmp' [license] Processing complist 'C:\temp\test_licence\test1.licx'... [license] C:\temp\test_licence\test1.licx (1)
: info LC0001 : Processing component entry 'ChartFX.WinForms.Chart, ChartFX.WinForms,
Version=7.0.2281.31706, Culture=neutral, PublicKeyToken=a1878e2052c08dce' [license] C:\temp\test_licence\test1.licx (1)
: error LC0003 : Unable to resolve type 'ChartFX.WinForms.Chart, ChartFX.WinForms,
Version=7.0.2281.31706, Culture=neutral, PublicKeyToken=a1878e2052c08dce' BUILD FAILED C:\Temp\test_licence\test.build(13,4): External
Program Failed: C:\Program Files\Microsoft.NET\SDK\v2.0\bin\lc.exe (return code
was -1) Total time: 0.3
seconds. However when I
try this shell command : "C:\Program
Files\Microsoft.NET\SDK\v2.0\Bin\lc.exe” /complist:C:\temp\test_licence\test1.licx
/target:test1 /outdir:C:\temp\test_licence\
/i:"C:\Program Files\Chart FX for Visual Studio 2005\bin\ChartFX.WinForms.dll"
It seems to work fine ... Do you have any idea? Do I
use correctly this task? Tanks for your reply, Best regards Sophie Parisot MGDIS - Siège social de Vannes |
- [NAnt-users] Problem with license task Parisot Sophie
- RE: [NAnt-users] Problem with license task Gert Driesen