NLog.Config 4.7.15

Prefix Reserved
Additional Details

NLog.Config nuget-package will no longer be released.

Reason: NLog.Config-nuget-package stopped working properly when Microsoft refactored the nuget-package-system to support <packagereference>. Microsoft disabled the ability for a nuget-package to inject a default NLog.config into the project directory when one didn’t exist. Instead it became overwrite always, so when deploying an application with dependency on NLog.config-nuget-package, then it would unexpectedly reset the NLog.config.

See also NLog 5.0 - List of major changes: https://nlog-project.org/2021/08/25/nlog-5-0-preview1-ready.html

dotnet add package NLog.Config --version 4.7.15
                    
NuGet\Install-Package NLog.Config -Version 4.7.15
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NLog.Config" Version="4.7.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NLog.Config" Version="4.7.15" />
                    
Directory.Packages.props
<PackageReference Include="NLog.Config" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NLog.Config --version 4.7.15
                    
#r "nuget: NLog.Config, 4.7.15"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NLog.Config@4.7.15
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NLog.Config&version=4.7.15
                    
Install as a Cake Addin
#tool nuget:?package=NLog.Config&version=4.7.15
                    
Install as a Cake Tool

NLog.config file to get started with configuring NLog.
This package is not mandatory to get started with NLog: the configuration file can
created manually (read specs here: https://github.com/NLog/NLog/wiki/Configuration-file)
or the configuration can be created programmatically. (read more here: https://github.com/NLog/NLog/wiki/Configuration-API)

Note: Unfortunately this package won't work well when using <PackageReference>

Advised to:

- download manually: https://raw.githubusercontent.com/NLog/NLog/v4.4/src/NuGet/NLog.Config/content/NLog.config
- set "Copy To Output Directory" to "Copy if newer"

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (164)

Showing the top 5 NuGet packages that depend on NLog.Config:

Package Downloads
Ironman.Default

The default setup for the Ironman Framework. This includes adding LESS support, YUI is set as the default JS/CSS minifier, fastJSON and Bender are used for serialization, MiniProfiler for profiling, NLog for logging, and Glimpse is also added.

Batman.Core.Logging.NLog

This adds the ability for Batman to interact with local files as well as urls.

Platform.Core

Platform.Core

CoralogixCoreNLog

Package Description

MIDIator.CoreLib

Connect your C# application to MIDI with ease.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.7.15 4,309,313 3/26/2022 4.7.15 is deprecated.
4.7.14 332,743 2/23/2022 4.7.14 is deprecated.
4.7.13 591,730 12/5/2021 4.7.13 is deprecated.
4.7.12 437,753 10/24/2021 4.7.12 is deprecated.
4.7.11 542,173 8/18/2021 4.7.11 is deprecated.
4.7.10 985,304 5/14/2021 4.7.10 is deprecated.
4.7.9 368,489 3/24/2021 4.7.9 is deprecated.
4.7.8 293,237 2/25/2021 4.7.8 is deprecated.
4.7.7 406,065 1/20/2021 4.7.7 is deprecated.
4.7.6 443,214 12/6/2020 4.7.6 is deprecated.
4.7.5 734,950 9/27/2020 4.7.5 is deprecated.
4.7.4 394,831 8/22/2020 4.7.4 is deprecated.
4.7.3 268,698 7/31/2020 4.7.3 is deprecated.
4.7.2 752,490 5/18/2020 4.7.2 is deprecated.
4.7.1 48,717 5/15/2020 4.7.1 is deprecated.
4.7.0 781,080 3/20/2020 4.7.0 is deprecated.
4.7.0-rc1 15,176 2/22/2020 4.7.0-rc1 is deprecated.
4.6.8 1,496,656 11/4/2019 4.6.8 is deprecated.
4.6.7 1,070,690 8/25/2019 4.6.7 is deprecated.
4.6.6 404,021 7/14/2019 4.6.6 is deprecated.
Loading failed

NLog 4.7.15