Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use Measurement Studio 2013 with Microsoft .NET Framework 4.0 in Visual Studio 2012?

I am migrating an application from Visual Studio 2008 to Visual Studio 2012.  I need to continue WinXP support with this application so I can only go as high as the Microsoft .NET Framework 4.0.  The documentation with Measurement Studio 2013 indicates that Microsoft .NET Framework 4.5 is required for Visual Studio 2012 support.  Is there a way to use Measurement Studio 2013 in Visual Studio 2012 with the Microsoft .NET Framework 4.0?  Will an earlier version of Measurement Studio work with Visual Studio 2012?

0 Kudos
Message 1 of 6
(6,456 Views)

You will want to look at the Using .NET 4.0 Measurement Studio Assemblies in Visual Studio 2012 help topic, which describes how to accomplish this without integration support.

~ Paul H
0 Kudos
Message 2 of 6
(6,427 Views)

I too am in great need to get Measurement Studio 2013 working on the 4.0 .net framework.  I looked at the PDF but it wasn't apparent to me what I need to do.  

 

What I've tried is:

  • Switched to 4.5 framework
  • Added Measurement Studio 2013 references (set specific version to true)
  • Switched back to 4.0 framework
  • Built my solution but with errors like  - The tag 'Graph' does not exist in XML namespace 'http://schemas.ni.com/controls/2009/xaml/presentation'.

 

Any ideas?  There are bug fixes in Measurement Studio 2013 that I want to use but I need to support XP.

 

Thanks,
Dan

0 Kudos
Message 3 of 6
(6,362 Views)

Thank you for the response.  The solution described in the cited reference is basically what I was expecting.  The reference will make sure I don't miss any important steps.

0 Kudos
Message 4 of 6
(6,357 Views)

You should not need to switch to 4.5 to add 4.0 assemblies.


When you are adding the assembly references, make sure you are pulling them from the National Instruments\MeasurementStudioVS2010 installation folder (as described in the Adding Measurement Studio References section of the help topic).

~ Paul H
0 Kudos
Message 5 of 6
(6,356 Views)

Thanks it works now.  I had previously skipped installation of VS2010 components because I don't use it.  Also had to manually edit the .licx file for anyone else who is interested.  I used the "sn" command in VS tools to get the public key token of NationalInstruments.Controls.dll and then updated the licx file.

0 Kudos
Message 6 of 6
(6,350 Views)