Thanks!  It looks like the file name was the problem. 
I changed it to .licenses and everything works fine. 
It looks like .NET (or at least the 1.0 version of the
framework) ignores a resource file with a .license in
the file name.


--- Michael Dang <[EMAIL PROTECTED]> wrote:
> hmm...
> 
> I wonder if .net looks for files called .license or
> .licenses
> 
> I use .licenses b/c that is what gets generated from
> the VS.NET IDE
> when u look at the manifest of an assembly.  
> 
> Plus, the .licenses file is to be embedded.  which u
> do correctly
> with the resources tag.  Its not a reference.
> 
> Not sure what your comment means - "(i.e. I don't
> get any XXX
> References read from FlexGridBuildTest.exe.license
> messages)" 
> 
> Can't see anything else.  Sorry.
> 
> mike
> 
> 
> --- Thomas Marshall <[EMAIL PROTECTED]> wrote:
> > I updated the license task to take out the path as
> > recommended, but it does not make any difference. 
> > When I run the build the
> FlexGridBuildTest.exe.license
> > file is created, but it looks like it is not
> getting
> > included as a reference (i.e. I don't get any XXX
> > References read from FlexGridBuildTest.exe.license
> > messages).  Below is the current build file,
> please
> > let me know if there are any other ideas to get
> this
> > working:
> > 
> > <?xml version="1.0"?>
> > 
> > <project name="FlexGridBuildTest" default="build">
> >     <description>Test building a project with a flex
> > grid</description>
> > 
> >     <property name="flex.debug"   value="true"/>
> >     <property name="flex.lib.dir" value="C:\Program
> > Files\ComponentOne Studio.NET\bin"/>
> >     <property name="flex.out"    
> > value="FlexGridBuildTest\bin\debug"/>
> >     <property name="flex.src"    
> > value="FlexGridBuildTest"/>
> > 
> >     <target name="init" description="create a
> directory
> > for the files, and get the util files">
> > 
> >             <!-- Create an output directory -->
> >             <mkdir dir="${flex.out}"/>
> > 
> >             <!-- Copy DLLs from the lib directory -->
> >             <copy todir="${flex.out}">
> >                     <fileset basedir="${flex.lib.dir}">
> >                             <includes name="C1.Win.C1FlexGrid.dll"/>
> >                     </fileset>
> >             </copy>
> >     </target>
> > 
> >     <target name="clean" description="remove all
> > generated files">
> >             <delete dir="${flex.out}" failonerror="false"/>
> >     </target>
> > 
> >     <target name="build" depends="init"
> > description="compile the code">
> >             <license input="${flex.src}\licenses.licx"
> > output="${flex.out}\FlexGridBuildTest.exe.license"
> > licensetarget="FlexGridBuildTest.exe">
> >                     <assemblies>
> >                             <includes
> > name="${flex.out}\C1.Win.C1FlexGrid.dll"/>
> >                     </assemblies>
> >             </license>
> > 
> >             <csc target="winexe"
> > output="${flex.out}\FlexGridBuildTest.exe"
> > debug="${flex.debug}">
> >                     <references>
> >                             <includes
> > name="${flex.out}\C1.Win.C1FlexGrid.dll"/>
> >                     </references>
> > 
> >                     <resources>
> >                             <includes name="${flex.src}\*.resx"/>
> >                             <includes name="${flex.out}\*.license"/>
> >                     </resources>
> > 
> >                     <sources>
> >                             <includes name="${flex.src}\*.cs"/>
> >                     </sources>
> >             </csc> 
> >     </target>
> > </project>
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > New Yahoo! Photos - easier uploading and sharing.
> > http://photos.yahoo.com/
> 
> 
> =====
> Michael Dang
> 
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to