LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.net assembly object updated, but old properties still in list

A visual studio .net dll was updated (still uses old name though) but it appears the old instance along with the old properties (selected from the pull down menu of the .net get property node) are still present (these were updated but do not show up, only the old ones).

 

Does the old dll have to be deleted from the GAC first (outside of Labview) - If so how do I do this? (I'm assuming the 'select a .net constructor' assembly list that automatically pops up when you place a constructor node on the block diagram is the GAC, but I might be wrong).

 

Also, a window pops up saying that the  'version of the assembly requested was automatically updated to a more recent version by the .net runtime engine' as soon as I place a constructor node on the block diagram, even before any assembly is chosen.

0 Kudos
Message 1 of 2
(2,540 Views)

If you still have the old assembly with a lower version number in GAC, LabVIEW will always use this one. If you need to switch between those versions, see this KB.

Additionally, you might want to force update the constructor node by reselecting the assembly. Since the reference output of the node is typified, the update is required for following property/invoke nodes in order get updated with the new properties/methods.

 

Deleting assemblies from the GAC simply requires the assembly to be removed from the GAC folder (see this notice for further info). 

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(2,522 Views)