Customization
We use licensed Winform Infragistics controls to create desktop applications. All of our software assemblies are run on the CruiseControl.NET server.
Note Ignore the combination of Infragistics and CCNET - any other commercial library of .NET controls and any other CI server is likely to lead to the same situation. Edit : Referring to Andy's answer , this could only be a problem with the Infragistics function.
As I understand the terms of the Infragistics license agreement, you can use the licenses used on dev machines additionally in automated build environments (under certain circumstances). It's good!
But how? Recommendations presented at the Infragistics forum: "You need to install Infragistics components on the build server." This is bad, since the build server administrator does not allow me to do this. The administrators of the negative attitude towards server installations (except for the .NET SDK) are completely clear to me, since the need for reliable and reproducible builds on all machines requires the least complicated configuration (without updating the service pack-update-ping-pong).
Problem
To avoid Works-on-My-Machine-Pattern , all assemblies referenced by our projects are stored on a network drive and can also be found in the Infragistics library. This works well on developer machines with visual components installed. But, trying to create a project on the CI server without installing the Infragistics package, a license exception occurs:
LC0004: Exception occurred creating type 'Infragistics.Win.UltraWinEditors.UltraOptionSet, Infragistics2.Win.UltraWinEditors.v9.1, Version=9.1.20091.2039, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException in licenses.licx(1, 0)
Potential solution
If any lines related to Infragistics assemblies are deleted from the licenses.licx file, the project is built on the CI server without complaints. But I suspect that by fixing the file we can - without purpose - use some kind of trial version on the build server (and find pop-up messages or copyright watermarks after we released the software)
Questions
- What are your experiences with commercial libraries in a continuous integration environment?
- Is there a way to deploy licensed management libraries to the build server using XCOPYing?
- Can I omit the contents in
licenses.licx and what are the consequences?
Note : Yes, I asked this question on the Infragistics forum, but I didnβt get any advice except βInstall the management pack on the CI server.β
The chairman
source share