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,386 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,377 Views)

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

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