Error while building Syncfusion project using MSbuild.exe on Jenkins

Hi,

We have a Winforms application that uses Syncfusion libraries for building its UI layer.
Syncfusion Essential Studio licensed version 10.2.0.75 is what is being used.
The application builds fine using Visual Studio as well as from command line using MSbuild.exe.
When building the same .sln using Jenkins hosted on the same machine, using MSBuild plugin, the build fails with the following error:

  licenses.licx(1): error LC0004: Exception occurred creating type 'Syncfusion.Windows.Forms.Grid.GridControl, Syncfusion.Grid.Windows, Version=10.204.0.75, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application

Any help to the above would be greatly appreciated.

1 Reply

AR Arulpriya Ramalingam Syncfusion Team January 9, 2018 12:14 PM UTC

Hi Parvathy, 
 
Thanks for contacting Syncfusion support. 
 
We removed the run time licensing for all the Syncfusion Essential studio from the version v8.2.0.x and the reported issue will be occurred when the higher version projects has the license.licx file. So, the license.licx file in the project of the version v10.2.0.75(i.e. v8.2.0.x and higher version) might cause the license error of your project. In order to resolve the issue, we would suggest you to remove the license.licx file from the project. Please refer to the below UG to remove the file from the project, 
 
 
Note 
Please make use of above suggestion and confirm us that whether the reported issue is resolved or not. So, that we could proceed further on this to provide you an optimal solution at the earliest. 
 
Regards, 
Arulpriya 


Loader.
Up arrow icon