IVI.visa could not be found

Rr 0 Reputation points
2025-01-20T03:24:20.1533333+00:00

My computer A prompted a message notifying me that the latest update for the NI driver was available, so I decided to update it. After the update, I noticed that the executable file compiled with Visual Studio 2015 runs successfully on Computer A but encounters errors on Computer B.

Before I updated it , the executable file worked fine on both computers.

To resolve the issue, I also updated the NI driver on Computer B, but it still didn’t work, and the error persisted.

The error massage is as follows:

"Could not load file or assembly 'Ivi.Visa, Version=7.2.0.0, Culture=neutral, PublicKeyToken=a128c98f1d7717c1' or one of its dependencies".

Developer technologies | Visual Studio | Other
Developer technologies | C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,456 Reputation points Microsoft External Staff
    2025-01-20T07:50:07.6766667+00:00

    Hello @Rr,

    Welcome to Microsoft Q&A forum.

    Is Ivi.Visa a 3rd-party assembly from NI? I searched in nuget.org but didn’t find the corresponding packages.

    I suggest you search on your machine A, find and locate the assembly Ivi.Visa(version 7.2.0.0). Move(copy, paste) it to the same location on machine B, see if it works.

    If you can find this specific assembly, please also try to directly reference this assembly from your project, rebuild the project and test again.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.