Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
7 ratings:
 3.57 out of 5   

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.
Generate Entries


Related Links:
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

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit