06-18-2012 04:51 AM
HELLO every one!
I have spent a week looking for a solution , but i didn't find any usefull help, so this is the problem : i'm trying to use a c# DLL in LAbview when i
Place a .NET “Constructor Node” on the block diagram a menu is presented and the following error message appears:this assembly is built by a runtime newer than the curruntly loaded. i've attached a screen shot of the message.
any help would be welcome, i'm really out of ideas!!
Best Regrds,
Solved! Go to Solution.
06-18-2012 06:06 AM
Your .Net DLL was built in .Net 4 and LabVIEW does not support .Net 4 out of the box. There is a knowledgebase article about how to place a manifest file in the LabVIEW folder to convince Windows to load the .Net 4 runtime anyhow with LabVIEW. It should work, but there are no guarantees that this could not cause some trouble because of incompatibilities between earlier .Net versions and .Net 4.
Another solution if you have the source of the .Net DLL is to build it to use an older .Net version. Then LabVIEW won't have any troubles to load your assembly.
06-18-2012 06:23 AM
hello rolfk ,
Could you please give me a link to that article , i looked on the internet but didn't find it,
Thank you for your precisous help,
Regards,
06-18-2012 07:23 AM
This is the article: Loading .NET 4.0 assemblies in LabVIEW
06-18-2012 07:33 AM
Here we go!! thank you too much for the link , i think this will be very usefull 😉
Best Regards,