Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

using NationalInstruments.VisaNS; command not working

Solved!
Go to solution

Hi all,

 

I'm having trouble including the Nationalinstruments namespace to my application (MS Visual Studio 2010 C#).

 

I have added the references NationalInstruments.Common and NationalInstruments.VisaNS like in the example files.

 

However, I get an error message during built saying:

 

error CS0246: The type or namespace name 'NationalInstruments' could not be found (are you missing a using directive or an assembly reference?)

 

What am I missing here?

 

Thanks,

Benjamin

0 Kudos
Message 1 of 3
(7,289 Views)
Solution
Accepted by topic author schwabe111

This is a double post. Let's keep the discussion on the other thread because this is a C# .NET issue and not related to MStudio for VC++. I have posted a response to the other thread.

 

http://forums.ni.com/t5/Measurement-Studio-for-NET/Namespace-NationalInstruments-not-found/td-p/1885...

National Instruments
0 Kudos
Message 2 of 3
(7,274 Views)

Problem was solved in the other thread.

Message 3 of 3
(7,181 Views)