Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68979

LabVIEW 2013: An error occured trying to load the assembly

$
0
0

Hey all,

 

I'm trying to load a .NET 4.5 dll into LabVIEW 2013.

When I place any of the .NET VIs and try to select the one I'm after it says "An error occured trying to load the assembly" and won't let me load it.

I also tried importing the dll, but that gave errors too.

It's defintely a .NET 4.5 dll as the .NET reflector gives me

 

[assembly: ComVisible(false)] [assembly: TargetFramework(".NETFramework,Version=v4.5", FrameworkDisplayName=".NET Framework 4.5")] [assembly: SecurityRules(SecurityRuleSet.Level1)] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification=true)]

 

To try and get around the import issue, I added the following to my LabVIEW.exe.config file

<?xml version ="1.0"?>
<configuration>
  <runtime>
    <loadFromRemoteSources enabled="true" />
  </runtime>
</configuration>

but it made no difference.

 

 

Any suggestions? All the things I've read so far are for 2010.


Viewing all articles
Browse latest Browse all 68979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>