Title: Message
I was able to get it to work.
 
My lines I posted in the first message were correct.
 
What I did was change a line here
 
                        <resources>
                                <includes name="${sps.src}\*.resx"/>
                                <includes name="${sps.out}\SalesPlanningSystem.exe.licenses"/>
                        </resources>

I had the .licenses file resource pointing in the wrong directory and name too for that matter.

Thanks!

Steve G


----- Original Message -----
Sent: Wednesday, March 31, 2004 12:10 PM
Subject: RE: [Nant-users] another Licx problem

I think you then have to use al to include the generated .license file into your EXE.
 
eg
 
<al output="bin\GBE.dll" target="lib">
   <sources>
    <includes name="bin\GBE.dll.license" />
    <includes name="bin\*.resources" />
   </sources>
  </al>
I could be wrong - I've had horrible experiences with license files to the point that I doubt if its working...
 
Pete
-----Original Message-----
From: steve gupta [mailto:[EMAIL PROTECTED]
Sent: 31 March 2004 15:52
To: [EMAIL PROTECTED]
Subject: [Nant-users] another Licx problem

I have spent a little while reading through the messages trying to get a handle on this problem I am having.
 
I am trying to compile a c# app that uses the c1 components.
 
I followed someone elses example of how they wrote the license tags.
 
heres a snipet of my build file.
 
<target name="build" depends="init" description="compile the code">
                <license input="${sps.src}\licenses.licx" output="${sps.out}\SalesPlanningSystem.exe.licenses"
                  licensetarget="SalesPlanningSystem.exe">
                        <assemblies>
                                <includes name="${sps.out}\C1.Win.C1List.dll"/>
                                <includes name="${sps.out}\C1.Common.dll"/>
                                <includes name="${sps.out}\C1.Win.C1Sizer.dll"/>
                                <includes name="${sps.out}\C1.Win.C1Input.dll"/>
                                <includes name="${sps.out}\C1.Win.C1FlexGrid.dll"/>
                        </assemblies>
                </license>
                <csc target="winexe" output="${sps.out}\SalesPlanningSystem.exe" debug="${sps.debug}" win32icon = "${sps.src}/App.ico">
                        <references>
                                <includes asis="true" name="System.dll"/>
                                <includes asis="true" name="System.Data.dll"/>..........
 
 
The app compiles and runs, but I keep getting those annoying c1 popup boxes when starting the app.
I don't get those when compiling from the gui.
 
What am I doing wrong?
 
 
Thanks,
Steve G

Reply via email to