Giter Club home page Giter Club logo

Comments (5)

micjahn avatar micjahn commented on June 19, 2024

In my opinion there is a new package needed: ZXing.CoreCompat.System.Drawing.V2
But at the moment the main problem is, that there are some types are missing in CoreCompat.System.Drawing.V2: Rectangle and Color
Color can be replaced with an own implementation. But Rectangle is used by DrawString and LockBits. I have no idea what has to corrected here. Perhaps I'm missing some references.

from zxing.net.

mrgleba avatar mrgleba commented on June 19, 2024

The reason they're missing from CoreCompat.v2 is that they are now part of netstandard 2.0.
So there are no changes in code needed. Just new TargetFramework and a reference to CoreCompat.System.Drawing.v2 rather than CoreCompat.System.Drawing.
I think upgrade to a csproj format would be required for that (at least for that one adapter) (right now I can see project.json stillbeing used everywhere).

from zxing.net.

micjahn avatar micjahn commented on June 19, 2024

My mistake. I tried to build it with visual studio 2015. As far as I understand that isn't supported. I made it now with a csproj file and dotnet.exe.

from zxing.net.

micjahn avatar micjahn commented on June 19, 2024

Updated package is pushed to nuget. Would be good if somebody can test it.

from zxing.net.

mrgleba avatar mrgleba commented on June 19, 2024

Works perfect.
Thank you.

from zxing.net.

Related Issues (20)

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.