LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Interop assembly - target framework

I am trying to crate wrapper arount CANopen LabVIEW VIs to call them in external .net application. It builds and creates dll for .net 3.5:

 

pawhan11_0-1657708947099.png

 

 

 

When trying to consume this dll in another app it throws the following exception:

"Unhandled exception. System.BadImageFormatException: Could not load file or assembly 'InteropAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. An attempt was made to load a program with an incorrect format.
File name: 'InteropAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'"

 

It is probably because dll is in net 3.5 and target app in 4.8. Can I somehow tell LabVIEW to compile it for 4.8?

 

 

0 Kudos
Message 1 of 1
(708 Views)