I had this same problem, and found very little information about it via google. 
 I saw this email from Ioana Goga on this list last November and thought I'd 
send a reply.

To embed license info into your assembly, you must first create a .licenses 
file from the .licx file.  Then you add this .licenses file as a resource.  
Your nant .build file should having something along these lines:

<target name="build">
  <!-- Create the .licenses file from the .licx file -->
  <license input="etc/licenses.licx" licensetarget="HelloWorld.exe" 
output="build/HelloWorld.exe.licenses">
    <assemblies>
      <include name="C:/Program Files/PowerTCP/Telnet for 
.NET/Bin/Dart.PowerTCP.Telnet.dll"/>
    </assemblies>
  </license>

  <!-- Compile program and include the .licenses file -->
  <csc output="build/IomTests.exe" target="exe">
    <sources>
      <include name="source/*.cs"/>
    </sources>
    <resources>
      <include name="build/IomTests.exe.licenses"/>
    </resources>
  </csc>
</target>

Hopefully future googlers will find this helpful.
-Mark


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to