Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do you use commercial libraries in a continuous integration build?
    primarykey
    data
    text
    <h2>Setting</h2> <p>We are using licensed Infragistics winform controls for creation of desktop applications. All our software builds are performed on a CruiseControl.NET server.</p> <p><strong><em>Remark</strong>: Never mind the combination of Infragistics and CCNET – any other commercial library of .NET controls and any other CI server will probably lead to the same situation.</em> <strong><em>Edit</strong>: Referring to <a href="https://stackoverflow.com/questions/1492203/how-do-you-use-commercial-libraries-in-a-continuous-integration-build/1504190#1504190">Andy's answer</a> this might be an Infragistics-only-issue.</em></p> <p>As far as I understood the terms of the Infragistics license agreement, you may use licenses used on dev machines additionally in automated build environments (under defined circumstances). That’s good!</p> <p>But how? The advice given in Infragistics forum is: “You need to install the Infragistics components on the build server.” That’s bad, since the build server admin won’t let me do that. The admin’s negative attitude towards installations on the server (apart from .NET SDK) totally makes sense to me as the need for reliable and reproducible builds across all machines urges the least complex configuration possible (without any service-pack-update-ping-pong).</p> <h2>Problem</h2> <p>In order to avoid the <a href="http://www.codinghorror.com/blog/archives/000818.html" rel="nofollow noreferrer">Works-on-My-Machine-Pattern</a> all assemblies referenced from our projects are stored on a network drive and so are the Infragistics DLLs. That works well on developer machines with visual components installed. But trying to build the project on the CI server, without having Infragistics package installed, raises a license exception:</p> <pre><code>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) </code></pre> <h2>Potential Solution</h2> <p>If any lines referring to Infragistics assemblies are stripped from <code>licenses.licx</code> file the project builds on the CI server without complaints. But I suspect by patching the file we might – without purpose – use some kind of trial version on the build server (and find popup messages or copyright watermarks after we released the software)</p> <h2>Questions</h2> <ul> <li>What are Your experiences with commercial libraries in a continuous integration environment?</li> <li>Is there a way to deploy licensed control libraries to a build server by XCOPYing?</li> <li>May the content in file <code>licenses.licx</code> simply be omitted and what are the consequences?</li> </ul> <p><strong><em>Remark</strong>: Yes, I asked this question on the Infragistics forum but didn’t get any advice except “Install controls package on CI server”.</em></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload