Generating .licx Licenses

I have a problem. I move my source repository from one computer to another, and in the process I do a culling of what was saved, as I learned more about creating / managing the repository since I started.

The problem is that we use the dxperience tools from devexpress, and it uses the .net licensed system (license.licx). Initially, I had this license in the repository, and I hear that this is not a good idea. Therefore, I did not include it in the repository. But now, when I check the project from the repository on my computer (the same computer that I checked before the transition), it looks for the license file and does not generate it like (I think), it should be.

+6
c # licensing visual-studio-2008
source share
4 answers

We encountered the same problem using the Infragistics controls.

Our solution was to save the empty licnenses.licx file in our source repository (Source Gear Vault), and then change the file properties to read-only for our local work. Thus, we do not go to each other with this file, and it is generated using the appropriate keys from our workstations.

Of course, this is a little manual work, which may not be suitable for you, but this is how we do it.

+7
source share

Alternatively, you can install the nuget EmptyLicensesLicx package and it will contain the empty Licenses.licx in your project before it is compiled (that’s all you need).

+2
source share

This file should be compiled into your deployment builds automatically by including the built -in license.licx resource as an embedded resource. Under the hood, Visual studio uses lc.exe to include this in your builds.

http://www.atalasoft.com/kb/Article.aspx?id=10103

+1
source share
  • delete existing license file
  • solve all errors
  • check solution properties, dll name, source name
  • rebuild project
-one
source share

All Articles