Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio Project targets .NET3.5, cannot reference VisaNS

Solved!
Go to solution

I have a project in Visual Studio 2010, using Measurement Studio 2010.  the project targets .NET 3.5 Framework.   When I ported the project from Visual Studio 2008, I lost the project reference to VisaNS.  I get a message stating that the currently installed Visa dll only works for .NET4.0.  Is there a way to have a .NET3.5 Visa reference in my project.  I do not want to migrate to .NET4.0 yet because my target instrument does not support it.

0 Kudos
Message 1 of 4
(3,815 Views)

Hi brendave,

 

You should be able to add a 3.5 VISA Reference if you have the .NET support installed. (This is an option under Development Support when installing). Then if your project is set to 3.5 it should give a list of 3.5 assemblies. One of which should be the VISA for the 3.5 framework.

 

Hope this helps!

 

Regards,

Chris T.
0 Kudos
Message 2 of 4
(3,795 Views)

I tried to install "NI_VISA 5.0-> Development Support-> .NET Framework 3.5 Languages Support" from my Device Drivers DVD (August 2010).  The selection is disabled, with a message "This feature will not be installed.  This feature is incompatible with products already installed on the computer".  I am using Visual Studio 2010.

0 Kudos
Message 3 of 4
(3,783 Views)
Solution
Accepted by topic author brendave

I was able to install the .NET 3.5 support using Control Panel.  I don't know why I couldn't install it from the Device Driver DVD.  Anyway, the problem is resolved.  Thanks.

0 Kudos
Message 4 of 4
(3,780 Views)