Development

log4net uses GitHub for source code management.

Building log4net

Log4net provides support for the following targets

  • net462

  • netstandard2.0

Windows

  • install Visual Studio Build Tools (at least VS 2022)

  • install dotnet (v8+) and the .NET SDK (current latest)

  • in the project folder

    dotnet test ./src/log4net.sln

Docker

Linux / MacOS

  • install the dotnet SDK - v8 or better

  • install Mono (you’re going to need it to target certain versions of .NET)

Site

You can build and view the website as follows:

./mvnw -N site

You can view the generated website with a browser by pointing it to target/site directory.

Release instructions

log4net employs the CI/CD foundation provided by the logging-parent. You can simply use its release instructions.