04-18-2011 12:59 PM
04-18-2011 03:54 PM
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
04-19-2011 10:54 AM
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.
04-19-2011 02:26 PM
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?
04-20-2011 09:58 AM
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.
04-20-2011 10:33 AM
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.
04-20-2011 10:53 AM
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
National Instruments
04-20-2011 11:22 AM
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
01-12-2012 12:51 AM
When you delete a NI Measurement Studio Common.NET Assemblies for. NET 3.5 emerges error 1603.
01-12-2012 12:57 AM
It also appears the message ""Visualizers" is not valid short file name".