DotNetFramework can not work
njsunsky opened this issue · 2 comments
The exception thrown: "System.IO.FileNotFoundException" (occurred in libplctag.dll)
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in libplctag.dll
Could not load file or assembly 'libplctag.NativeImport, Version=1.0.39.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
My assumption is that you downloaded the repository and are attempting to run the CSharp DotNetFramework project.
I'm not sure when this error started happening but it seems like the transitive dependency libplctag.NativeImport isn't being brought in when libplctag.NET (primary .NET wrapper package) is project reference as opposed to a nuget package reference.
You should be able to get around the issue by installing either of the nuget packages.