We build our WPF application on a CI server and automatically generate the assemblies on that server. The generated application is not licensed unfortunately and we have to manually license the assemblies every time we have a build which is getting a bit tedious.
I’m wondering how can we activate (create a run-time license) for our application on the CI server?
If your target is run application in CI server, you should want to build the run-time license in one machine and copy it to your CI server everytime, you don’t need to build the file in your CI server.
Please make sure your product center is the latest version
Call getproductnames at first, get the productid
Put the target productid in your generateruntimelicense line, and please notice the outputpath should be folder name but not a file name, the mapsuitelicense will be placed into it, for example: “C:\Path\To\licenses”