Comments (9)
Having the same issue here.
When I made a simple dotnet core Console application I didn't have this problem. Using VSCode
When I tried to make a WinForm application I get the same error as you using VStudio.
from cv4ab-api-dotnet.
If you make a simple dotnet core console project you can copy the plctag.dll into your vstudio project and it works.
from cv4ab-api-dotnet.
I have the same issue. VS2019, NuGet version of this assembly is 0.1.7. I've created standard WinForm application. Also, I've tried to put plctag.dll to the project folder. Nothing helped.
from cv4ab-api-dotnet.
You need to put plctag.dll inside the /bin/Debug folder (next to the .exe that is built)
from cv4ab-api-dotnet.
You need to put plctag.dll inside the /bin/Debug folder (next to the .exe that is built)
Hi,
good. i am trying to fix it
Best regards
from cv4ab-api-dotnet.
I'm running into this same issue with a .NET Core 3.1 Console project in VS2019, Win10. I've tried copy the different runtime versions of plctag.dll into the debug folder, changing the platform (x64, x86, Any CPU). I either get a BadImageFormatException (x86) or DllNotFoundException (x64). Please advise.
from cv4ab-api-dotnet.
Update: I copied the plctag.dll from another project (https://github.com/libplctag/libplctag.NET) into the debug folder shown below and now it works:
from cv4ab-api-dotnet.
Hi all,
sorry but I'm very busy working. In the coming weeks I will update the project with the new dll.
Best regards
from cv4ab-api-dotnet.
VC++ redistributable x86 worked for me
Thanks,
from cv4ab-api-dotnet.
Related Issues (14)
- Tag listing HOT 1
- AutoReadValue leads to Stack Overflow
- BadImageFormatException HOT 3
- is forcing digital outputs possible? HOT 2
- Wrong read value of a short tag HOT 1
- Doesn't work with CompactLogix
- Read/write single bits/booleans HOT 1
- Int64 tags
- Exception when create a tag 64 bit "Unable to cast object of type 'System.Int64' to type 'System.Int32'."
- System Access Violation Exception HOT 2
- x64 vs x86 native library HOT 7
- Read boolean HOT 9
- Does not work with Soft Logix HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cv4ab-api-dotnet.