Using Measurement Studio 2009 with Microsoft Visual Studio 2010Primary Software: Measurement Studio>>Enterprise Edition (Full Development System)Primary Software Version: 2009 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have Measurement Studio 2009, and I would like to use it with Microsoft Visual Studio 2010. Is this possible? Solution: Measurement Studio 2009 and earlier .NET class libraries and user interface controls work with Visual Studio 2010. The Measurement Studio 2009 Visual C++ libraries do NOT work with Visual Studio 2010. Measurement Studio 2009 is designed to work with Visual Studio 2008; therefore, Measurement Studio does not install shipping examples and does not integrate with Visual Studio 2010. This means that if you install Measurement Studio 2009 with Visual Studio 2010, the Measurement Studio .NET controls are not in the Toolbox and you do not have a Measurement Studio menu item in the Visual Studio 2010 toolbar. However, you can add the Measurement Studio .NET controls to the Toolbox manually. Refer to Adding Measurement Studio 2009 User Interface Controls to the Toolbox for more information. Note: Measurement Studio 2010 released in November of 2010 and supports Visual Studio 2010. The following sections discuss additional topics to consider when using Measurement Studio 2009 with Visual Studio 2010. Installation If you have Visual Studio 2008 and Visual Studio 2010 on your system, Measurement Studio 2009 installs all the .NET class libraries automatically. If you only have Visual Studio 2010 installed, then you must unselect features that require specific versions of Visual Studio to be on the system. These features include the Visual Studio Integration feature and all of the Visual C++ support features. ![]() Using Measurement Studio 2009 User Interface Controls and Analysis .NET Class Libraries in Visual Studio 2010 The Measurement Studio 2009 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 2010 automatically adds a .licx file to the project and adds the appropriate license string. However, Visual Studio 2010 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 of this behavior, 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 Licensing Measurement Studio .NET Class Libraries without Integrated Tools in the NI Measurement Studio Help. Adding Measurement Studio 2009 User Interface Controls to the Toolbox To add Measurement Studio user interface controls to the Visual Studio 2010 Toolbox, complete the following tteps:
The Measurement Studio 2009 help files are designed to integrate into the Visual Studio 2008 help system. If you have Visual Studio 2008 installed on your system, you can view the Measurement Studio help by opening up the MSDN Help Viewer for Visual Studio. If you do not have Visual Studio 2008, you can use a free tool, the H2 Help Viewer, to view the help files. The help files have a .hxs extension and are installed in the <MeasurementStudioVS2008>\Help directory. You can open the individual .hxs files in the folder, or you can view all of the help content by opening the Measurement Studio namespace. Open the Measurement Studio namespace by selecting File » Open Namespace in the H2 Viewer. Known Limitations
Related Links: KnowledgeBase 4LM9505E: Accessing the Measurement Studio 2009 Readme H2 Help Viewer Attachments:
Report Date: 04/14/2010 Last Updated: 01/12/2012 Document ID: 58D8K1XU |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||




