How Can I Create a .licx File for My Measurement Studio Project?
Primary Software: Measurement Studio>>Enterprise Edition (Full Development System)
Primary Software Version: 2015
Primary Software Fixed Version: N/A
Secondary Software: N/A
I do not have Visual Studio integration support for Measurement Studio installed, but I would like to create a licenses.licx file for my project. How can I do this?
Microsoft .NET Framework language compilers embed Measurement Studio licenses into your assembly every time you build an assembly that references a Measurement Studio licensed class library. The compilers use License Compiler (Lc.exe) to do this. The input to License Compiler is a licenses.licx file that contains a list of licensed types and the assemblies that contain these licensed types. At compile time, License Compiler obtains licenses from NI License Manager for the Measurement Studio components listed in the licenses.licx file, which the .NET language compiler embeds into the assembly as a resource.
Use this page to generate licenses.licx entries for your Measurement Studio project based on your project properties. Once you have generated the entries you need, add them to your existing licenses.licx file or follow the instructions for creating a new licenses.licx file in Creating a .licx File Without Visual Studio-Integrated Tools.
Select the version of the .NET Framework you are using:
Select the version of Measurement Studio you are using:
Select Measurement Studio libraries referenced in your project:
Note: Once the entries have been generated, for WPF Controls you will need to remove the entries not corresponding to the licensed version of Measurement Studio such as Standard or Enterprise.
Measurement Studio Help: Licensed Class Libraries Behavior
Measurement Studio Help: Creating a .licx File Without Visual Studio-Integrated Tools
External Link: Lc.exe (License Compiler)
Report Date: 01/17/2016
Last Updated: 11/07/2017
Document ID: 75G4ND9