Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio 2010 .net 3.5

0 Kudos
Message 1 of 10
(5,439 Views)

It looks like my post was lost, probably due to incompatibility with IE9, so will replicate it one more time.

 

After upgrade of legacy project that is targeting .Net 3.5 i have next issue:

 

Warning 1 Type 'NationalInstruments.UI.WindowsForms.Slide' is not available in the target framework.

 

Do I have any alternative other than switching my project to .Net 4.0?

 

For upgrade I am using Measurement Studio 2010 Professional Edition, Windows

0 Kudos
Message 2 of 10
(5,424 Views)

Are we sure that we have installed support for Measurement Studio in .NET 3.5? If you go into Measurement and Automation Explorer, you can check if you have the assemblies installed by right clicking "Software" and selecting "Change / Remove Software" and you should see "NI Measurement Studio Common .NET Assemblies for .NET 3.5" if the software is installed. I would check to ensure that this is installed first.

Frank,
National Instruments
Software Group Manager
0 Kudos
Message 3 of 10
(5,405 Views)

I was not able to find Measurement and Automation Explorer.

I am using Measurement Studio 2010 Professional Edition.

Do I have Visual Studio 2008 to be installed in order to have .Net 3.5 assemblies installed?

0 Kudos
Message 4 of 10
(5,400 Views)

Sorry about that, Measurement and Automation Explorer typically installs with some of our other software and is an easy way to find installed software. Another thing you can do to find your installed software (On windows 7, goto Start>> Control Panel>> Programs and Features>>National Instruments). Double click that and a window will pop up with all NI software installed. Look through that list to see if you have "NI Measurement Studio Common .NET Assemblies for .NET 3.5" installed. 

 

In response to your other questions, Visual Studio 2008, and 2010 allow support for .NET 3.5 assemblies.  

Frank,
National Instruments
Software Group Manager
0 Kudos
Message 5 of 10
(5,387 Views)

Thanks for your help. I am using Windows XP for development. I did search for all dlls in C:\Program Files\National Instruments" folder and found that there are only 9.0.40.* assemblies are installed under "C:\Program Files\National Instruments\MeasurementStudioVS2010\DotNET\Assemblies". Under "C:\Program Files\National Instruments\MeasurementStudioVS2008" there are no assemblies installed. I checked also in Visual Studio 2010 under .Net 3.5 and there are no sign of any installed NI assemblies. It looks like I have to install VS2008 in order to trigger installer to get them.

0 Kudos
Message 6 of 10
(5,384 Views)

Hello -

 

You do not actually need to install VS2008, you just need to run the Measurement Studio 2010 for Visual Studio 2008 installer.  This will install the 3.5 assemblies without VS2008 being installed.

 

NickB_04-20_10-52-21.png

 

NickB

National Instruments

0 Kudos
Message 7 of 10
(5,382 Views)

I am not sure. I use this before when I was selecting both:

 

Measurement Studio 2010 for Visual Studio 2010

Measurement Studio 2010 for Visual Studio 2008

 

Then only 4.0 assemblies have been installed.

I just have installed VS2008 and the was able to get 3.5 assemblies through Control Panel->National Instruments Software->Modify

 

 

0 Kudos
Message 8 of 10
(5,379 Views)

When you delete a NI Measurement Studio Common.NET Assemblies for. NET 3.5 emerges error 1603.

0 Kudos
Message 9 of 10
(5,191 Views)

It also appears the message ""Visualizers" is not valid short file name".

0 Kudos
Message 10 of 10
(5,190 Views)