From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Way to globally change .NET dll reference throughout LabVIEW project?

Solved!
Go to solution

I have a LabVIEW project that utilizes a .NET dll.  There are .NET constructor, .NET invoke nodes, .NET property nodes and Reg Event Callback functions throughout. Now I need to update the code to use a newer version of the .NET dll.  I'm faced with tediously finding and changing these manually.  Is there a way to point LV to the newer dll and have it automatically use that in place of the older one?

0 Kudos
Message 1 of 3
(3,328 Views)
Solution
Accepted by topic author EduNI

Assuming that the interface to the dll is the same (signatures etc.) and the assembly filename has not changed:

  1. Shut-down LabVIEW
  2. Replace the old .NET assembly with the new one on disk. Do not keep both.
  3. Start up LabVIEW and open the project (you are using a project, right? If not; there is your problem).
  4. Mass-compile the VIs
  5. Open one of the VIs and check the assemblies in memory to verify that the .Net assembly version is correct
Message 2 of 3
(3,319 Views)

Is there a way to do this if the assembly filename has changed?

0 Kudos
Message 3 of 3
(2,197 Views)