The Measurement Studio 2013 Analysis .NET class libraries and user interface controls are licensed assemblies which require a license string to be added to the .licx file associated with the project. When you drop a control or a component onto a form, Visual Studio 2012 automatically adds a .licxfile to the project and adds the appropriate license string. This behavior is also present when dropping a Measurement Studio 2013 control or component onto a form in Visual Studio 2013. However, Visual Studio 2013 does not add or update the .licx file if you add a reference to an assembly, which is what is required for using the Measurement Studio Analysis libraries.
Because .licx file entries are not added automatically when you add references to your project, you need to add the license string manually to the .licx file associated with the project. For more information about manually adding the license information to use the Measurement Studio .NET class libraries, refer to the Measurement Studio help topic Creating an .licx File Without Visual Studio-Integrated Tools.
Note: The entries in the .licx files must correspond to the Measurement Studio assemblies referenced in your project. The entries listed in the examples in the previous help topic correspond only to Measurement Studio 2012 for Visual Studio 2010 assemblies. The Measurement Studio 2013 assemblies will differ by version number and possibly public key token, depending on which version of the .NET framework they use. For example, the following are entries for the same component in two different versions of Measurement Studio:
- Measurement Studio 2012 for Visual Studio 2010
NationalInstruments.Restricted.AnalysisLicenser, NationalInstruments.Analysis.Enterprise, Version=184.108.40.206, Culture=neutral, PublicKeyToken=dc6ad606294fc298
- Measurement Studio 2013 for Visual Studio 2012
NationalInstruments.Restricted.AnalysisLicenser, NationalInstruments.Analysis.Enterprise, Version=220.127.116.11, Culture=neutral, PublicKeyToken=4febd62461bf11a4
The public key tokens for Measurement Studio assemblies are as follows:
- Measurement Studio for Visual Studio 2008 (.NET 3.5)—18cbae0f9955702a
- Measurement Studio for Visual Studio 2010 (.NET 4.0)—dc6ad606294fc298
- Measurement Studio for Visual Studio 2012 (.NET 4.5)—4febd62461bf11a4