Coder Social home page Coder Social logo

Comments (6)

jchristn avatar jchristn commented on August 15, 2024

Hi @frankhommers are you running on Mac/Linux? Edit: sorry, I just saw the title. Will investigate.

from watsonwebserver.

jchristn avatar jchristn commented on August 15, 2024

The problem seems to be with incompatibility on line 34: private readonly EventWaitHandle Terminator = new EventWaitHandle(false, EventResetMode.ManualReset, "UserIntervention");. I'll have to find a way to keep it active in the background in a way that is supported by .NET Core 2.1.

from watsonwebserver.

jchristn avatar jchristn commented on August 15, 2024

I found a fix and will get it integrated today or tomorrow. Thanks for letting me know @frankhommers

from watsonwebserver.

jchristn avatar jchristn commented on August 15, 2024

Hi @frankhommers I just uploaded an updated package to NuGet: https://www.nuget.org/packages/Watson/1.3.1 with this commit: 3872255 - please reopen if any issues. Thanks!

from watsonwebserver.

jchristn avatar jchristn commented on August 15, 2024

Also for anyone interested in what the issue was: https://stackoverflow.com/questions/53526755/net-core-2-1-eventwaithandle-not-supported

from watsonwebserver.

frankhommers avatar frankhommers commented on August 15, 2024

Thanks for the fix!

But I already used the HttpListener itself, because there weren't any nupkg's that worked flawlessy on macOS.

I'm not sure I'll have time to re-integrate watson in my project. I'll probably use it in a next project (don't know when yet).

Again thanks for fixing it!

from watsonwebserver.

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.