Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Unity fails to load this .Net 4.6 dll

$
0
0
I'm trying to use Microsoft.VisualBasic.dll in my project for its TextFieldParser. The dll is a normal .NET assembly (it definitely works with C# in non-Unity projects), and the highlighting shows up properly in VS, but Unity keeps saying `Loading script assembly "Assets/Plugins/Microsoft.VisualBasic.dll" failed!` When I try to run the scene that has a script that would call stuff in that dll, I get this: FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. DataTestController.Start () (at Assets/Scripts/DataTestController.cs:16) I have set Unity to .NET 4.6 in PlayerSettings, and I've tried the 4.0, 4.5 and 4.6 versions of the dll How can I get this dll to be usable within Unity?

Viewing all articles
Browse latest Browse all 706

Trending Articles



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