Hi,

 

I am trying to build an application that uses Essential Suite/ Syncfusion components.

Syncfusion creates a file licenses.licx, which I have to integrate in the build, with nant.

I tried with:

<resources failonempty="true" prefix="MyNameSpace">      

  <include name="**/*.licx" />            

</resources>                                               

<resources>         

  <include name="**/*.licx" />            

</resources>              

 

I am not very sure what the prefix does in this case and if I should use it or not.

However, it does not work – the system gives the error:

 

Unhandled Exception: System.TypeInitializationException: The type initializer for "Syncfusion.Windows.Forms.Tools.DockingManager" threw an exception.

---> System.ComponentModel.LicenseException: A valid license cannot be granted for the type Syncfusion.Windows.Forms.Tools.ToolsComp.

Contact the manufacturer of the component for more information.
   at System.ComponentModel.LicenseManager.Validate(Type type)
   at Syncfusion.Windows.Forms.Tools.DockingManager..cctor()
   --- End of inner exception stack trace ---

In my license file, I have the license for Tools.DockingManager component, hence, I believe the problem is

with the integration of the .licx file.

 

I am not very clear whether I should use the .licenses file that I generate with license task or I can use only the .licx file.

I have also included the task:

<license input="licenses.licx" licensetarget="license.exe" />

 

<resources failonempty="true" >                          

   <include name="**/*.licenses" />                

</resources>  

Still, I get the same error.

 

Any help will be highly appreciated.

 

Thank you very much,

Ioana Goga

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003

Reply via email to