Missing IVI .NET Shared Components From NI-DMM or NI-SWITCH .NET Class Libraries Installation

Updated Jul 30, 2023

Reported In


  • PXI-2571


  • NI-DMM
  • NI-SWITCH .NET Class Libraries 1.1


Microsoft Visual Studio

Issue Details

I downloaded and installed a .NET Class Library for NI hardware (such as NI-DMM or NI-SWITCH). However, when I try to run the included examples I get an error message that Ivi.Dmm.dll, Ivi.Switch.dll, or Ivi.Driver.dll are missing. How can I resolve this problem?


1. The IVI Shared Components require .NET Framework version 2.0 or greater.

Check using: How to: Determine which .NET Framework versions are installed | Microsoft Docs

2. Install the most recent IVI .NET Shared Components directly from the IVI Foundation Website. This will be a two-part install: A) IVI Shared Components B) IVI .NET Shared Components.

3. Repair NI-DMM or NI-SWITCH driver.

Additional Information

This problem is related to the IVI Shared Components installer that is included in the NI-DMM and NI-SWITCH .NET Class Libraries installers. The IVI Shared Components installer checks for registry flags that are set when .NET Framework 2.0 is installed. Windows 7 and later include the .NET 2.0 CLR as an operating system component, but the registry flags are not set. This causes the IVI Shared Components installer to fail.