Giter Club home page Giter Club logo

Comments (9)

MattCosturos avatar MattCosturos commented on August 20, 2024

Having the same issue here.
When I made a simple dotnet core Console application I didn't have this problem. Using VSCode
image

When I tried to make a WinForm application I get the same error as you using VStudio.

from cv4ab-api-dotnet.

MattCosturos avatar MattCosturos commented on August 20, 2024

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.

OlegUA avatar OlegUA commented on August 20, 2024

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.

MattCosturos avatar MattCosturos commented on August 20, 2024

You need to put plctag.dll inside the /bin/Debug folder (next to the .exe that is built)

from cv4ab-api-dotnet.

franklupo avatar franklupo commented on August 20, 2024

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.

john10e avatar john10e commented on August 20, 2024

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.

image

from cv4ab-api-dotnet.

john10e avatar john10e commented on August 20, 2024

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:
image

from cv4ab-api-dotnet.

franklupo avatar franklupo commented on August 20, 2024

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.

kapatil2602 avatar kapatil2602 commented on August 20, 2024

VC++ redistributable x86 worked for me
Thanks,

from cv4ab-api-dotnet.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.