Jump to content

.NET assembly version (automatically promoted)


Recommended Posts

I have a customer with a .NET issue.

Once upon a time, they had called a .NET assembly with a specific version and all was good in the world. The .NET component was setup using the constructor node. Now, the developer of the .NET assembly released a new version. So now the LabVIEW developer browses to the new .NET DLL and selects the new version of the assembly. Saves all the VI changes and closes LabVIEW. When the LabVIEW application restarts, now the constructor gives an error. If you right-click on the constructor and chose "Select Constructor..." you will get the following dialog:

http://forums.lavag.org/index.php?act=attach&type=post&id=6508

You cannot select a constructor. If you just want to check the version, you can't. If you delete the constructor and place a new constructor node down, you can navigate to the correct constructor version and then if you run the code it all works fine. If you now restart LabVIEW, it's all broke again resulting in a very sad LabVIEW developer...

NI support will be contacted soon. Any ideas?

Link to comment

I don't have any good recommendations, but I just wanted to let you know that I do a lot of work with .NET assemblies that change versions often. I've been using 8.2.1 and have not had any problems. I've seen the dialog you showed but once I reselected the new DLL and saved all the VIs, everything was fine.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.