Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Namespace 'NationalInstruments' not found

Solved!
Go to solution

My


@pjt1 wrote:

I am running M/S Windows 10 with Visual Studio 2013 Basic .NET 4.5 and trying to use National Instruments Visa. I have National Instruments Common 15 and National Instruments Visa15, and Ivi Visa 5.7  installed in the references extensions add in.  Will this configuration work? As a first test I have put  Imports NationalInstruments.Visa, Imports NationalInstruments.VisaNS, and Imports Visa.Ivi at the  very top of my code file. There are no other build errors. All of these statements are flagged with errors that the namespace cannot be found. Any suggestions? Thanks.



My problem solved. I needed to check the (invisible) checkboxes in front of the Name in the Visual Studio References GUI. Also, apparently VisaNS (that I found in some documentation) is obolete. It gave an error.

0 Kudos
Message 11 of 12
(1,602 Views)

Pjt1,

 

This is Ali from National Instrument's applications engineering. We have a pretty active community for forum engagement but since this forum post has been inactive for a few years, I would recommend creating a new forum post and linking this previous solved solution.

 

That being said, have you been able to successfully run this configuration on an older OS (Windows 7) or any other system?

 

Have you tried changing the Target Framework and see if that makes a difference?

 

These might be good responses to put in the new post if you do decide to make a new one.

 

 

Regards,

Ali S.
Applications Engineering
National Instruments
0 Kudos
Message 12 of 12
(1,597 Views)