05-17-2019 02:56 AM - edited 05-17-2019 02:57 AM
I am using a .dll from .NET with my LabView 8.6 application. It works, until I try to build it with Application Builder. It says this:
So I point LabView to it, and then:
How is this possible, that when I point to the directory of .dll, it still does not find it? I tried putting it in different directories, also the support directory and data directory, but it all ends this way. How do I solve this?
The weird thing is there are like 5 dlls, and this is the only one it asks it for.
Solved! Go to Solution.
05-17-2019 03:17 AM
Are you using Windows 10? LabVIEW 8.6 is not even listed as compatible with Windows 7...
05-17-2019 03:28 AM
Compared to the development environment, the runtime environment (EXE) doesn't recognize the folders <vi.lib>, <user.lib> and <instr.lib>.
Your screenshots indicate that the assembly is located in the instr.lib. You have to include the dll in your build script and copy it to a dedicated folder.
05-17-2019 04:04 AM
I am sorry, but I do not understand what you mean by "build script" and which folder are you referring to. Could you elaborate?
05-17-2019 04:20 AM
So I finally found the solution for it: My .dll was built using .NET 4.0 framework, but according to https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L3hSAE&l=nl-NL, LabView defaults to 3.5. So I followed the instructions there and fixed it. However, I must note that it took too much time finding this information.