Missing VisaNS.dll Reference in Visual Studio Project

Updated Apr 20, 2023

Environment

Driver

  • NI-VISA

Other

Visual Studio

I need to add NationalInstruments.VisaNS as a reference in my Visual Studio project. How do I install support for VisaNS? 

VisaNS has been deprecated as of NI-VISA 19.0. It is being superseded by NI-VISA .NET, which should be used for newer applications. You can install support for VisaNS using the NI-VISA 18.5 installer. You will need to select support for VisaNS during the installation process as shown below.