Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Does the latest version of MS work with Visual Studio 2010 and .NET 4.0?

Does the latest version of MS work with Visual Studio 2010 and .NET 4.0?  Trying to determine if I should upgrade now or wait for NI.

 

Thanks.

Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 1 of 7
(4,478 Views)

Hey Michael - 

 

We've done some basic testing with Measurement Studio 2009 and Visual Studio 2010, and confirmed that things appear to work.  However, there are a couple limitations:

 

 

  • Targeting client profiles is not supported (you can change this in the project properties)

    NickB04-14, 11_03_53.png
  • If your application depends on any of our mixed mode assemblies (NationalInstrument.Common.Native etc) you will need to create a config file for your application that looks like the one attached below - specifically the useLegacyV2RuntimeActivationPolicy attribute of the <startup> tag.  If you fail to do this, you will likely receive the error "Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information."

 

 

Let me know if you have any questions 

 

NickB

National Instruments 

Message Edited by nickb on 04-14-2010 11:26 AM
0 Kudos
Message 2 of 7
(4,472 Views)

I have not had to target client profiles thus far, so I guess I would be covered.

 

Any plans to release a new version that is 100% good to go for VS 2010?

Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 3 of 7
(4,464 Views)

The next major version of Measurement Studio will have full integration support for Visual Studio 2010. The only limitation should be that targeting client profiles will still not be supported.

 

NickB

National Instruments 

0 Kudos
Message 4 of 7
(4,459 Views)

The reason targeting Client Profiles will not be supported is that Measurement Studio libraries include code that depends on Framework libraries that are not in the Client Profile (the libraries are only in the full Framework "Extended Profile"). We don't currently see this as a big limitation - the Client Profile is ~40MB in size and the Extended Profile is ~50MB in size.

 

If you are interested in working with Visual Studio 2010 and Measurement Studio, I encourage you to participate in the Beta of the next version of Measurement Studio. We haven't opened up sign-up for the Beta yet. We'll announce on this forum when we do.

 

David Rohacek

National Instruments

0 Kudos
Message 5 of 7
(4,440 Views)
Thanks.
Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 6 of 7
(4,435 Views)

For others interested, a KB has been created to address this topic.  See here for details.

 

NickB

National Instruments 

0 Kudos
Message 7 of 7
(4,374 Views)