Install Apache log4net™The preferred way to install log4net is to use our nuget package Just add the following lines in your project file. <ItemGroup> <PackageReference Include="log4net" Version="*" /> </ItemGroup> Alternatively you can use the dotnet tool. dotnet add package log4net |