Git Product home page Git Product logo

Comments (4)

mabakay avatar mabakay commented on June 3, 2024

Try use full assembly declaration

<appender name="HttpAppender" type="Log4Net.HttpAppender, Log4Net.WebServiceAppender">

from log4net.http-appender.

pdbruno avatar pdbruno commented on June 3, 2024

Hello, I'm getting the same error with this configuration:
<appender name="HttpAppender" type="Log4Net.HttpAppender.AsyncBatchHttpAppender, Log4Net.HttpAppender"> using log4net v2.0.4. Is it possible that the library was compiled for v1.2.10.0?
When I change the log4net version to v1.2.10.0, I stop getting this error and the library starts working properly.
Is there something I can do to help?

from log4net.http-appender.

dpjha84 avatar dpjha84 commented on June 3, 2024

Facing exactly same issue.

from log4net.http-appender.

mabakay avatar mabakay commented on June 3, 2024

I don't quite understand what your problem is (I am not the author of this library, just shared some tip - for clarity).

You wrote

When I change the log4net version to v1.2.10.0, I stop getting this error and the library starts working properly.

So you resolved your issue or not? Type declaration is quite a simple thing. You enter the class name and namespace where it can be found. Sometimes it's necessary to type assembly name as well. But assembly is search in specified path order (https://docs.microsoft.com/en-us/dotnet/framework/deployment/how-the-runtime-locates-assemblies, https://docs.microsoft.com/pl-pl/dotnet/core/dependency-loading/default-probing). Maybe you have several versions of this library in your packages folder? Maybe different versions are referenced across solution? Hard to say without my crystal ball.

from log4net.http-appender.

Related Issues (1)

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.