NLog.Windows.Forms
6.1.4
Prefix Reserved
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Framework 3.5
This package targets .NET Framework 3.5. The package is compatible with this framework or higher.
dotnet add package NLog.Windows.Forms --version 6.1.4
NuGet\Install-Package NLog.Windows.Forms -Version 6.1.4
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.Windows.Forms" Version="6.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NLog.Windows.Forms" Version="6.1.4" />
<PackageReference Include="NLog.Windows.Forms" />
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.Windows.Forms --version 6.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NLog.Windows.Forms, 6.1.4"
#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.Windows.Forms@6.1.4
#: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.Windows.Forms&version=6.1.4
#tool nuget:?package=NLog.Windows.Forms&version=6.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NLog.Windows.Forms
This package provides NLog targets for displaying log output in Windows Forms applications.
- RichTextBoxTarget: Displays log messages in a RichTextBox control with colorhighlighting.
- MessageBoxTarget: Displays log messages in message boxes.
- FormControlTarget: Displays log messages in the
Textproperty of a Windows Forms control. - ToolStripItemTarget: Displays log messages in the
Textproperty of aToolStripItem.
See list
Register Extension
Install the NLog.Windows.Forms NuGet package and register the extension-assembly.
When loading configuration from NLog.config file, then register the extension in the <extensions> section:
<extensions>
<add assembly="NLog.Windows.Forms"/>
</extensions>
Alternative register from code using the fluent configuration API:
NLog.LogManager.Setup().RegisterWindowsForms();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
| .NET Core | netcoreapp3.1 is compatible. |
| .NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NLog.Windows.Forms:
| Package | Downloads |
|---|---|
|
NextPlatform.Core.Winform
Next Core Winform Library |
|
|
ClibRi.UI
V1.1.3 取消日志的默认换行符 |
GitHub repositories (10)
Showing the top 10 popular GitHub repositories that depend on NLog.Windows.Forms:
| Repository | Stars |
|---|---|
|
NLog/NLog
NLog - Flexible and Structured Logging for various .NET Platforms
|
|
|
Fr33dan/GPSaveConverter
Utility to transfer save files between the games installed from the Xbox app and other storefronts. https://ko-fi.com/fr33dan
|
|
|
redscientistlabs/RTCV
Real-Time Corruptor, Vanguard, CorruptCore, NetCore2 https://redscientist.com/rtc
|
|
|
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
|
|
|
TV-Rename/tvrename
Organise your TV & Movie videos with ease
|
|
|
Smurf-IV/Elucidate
Elucidate: A GUI to drive the SnapRAID command line (via .Net)
|
|
|
OpenAC-Net/OpenAC.Net.NFSe
Biblioteca para emissão e transmissão de NFSe.
|
|
|
zone117x/Jackett
Use just about any tracker with Sonarr
|
|
|
babalae/genius-invokation-auto-toy
🎲七圣召唤PVE全自动打牌 | Auto Play Genius Invokation TCG
|
|
|
grantwinney/Surviving-WinForms
WinForms ain't going away anytime soon. A lot of us have to deal with it. Let's make the most of it, shall we? 😎
|
| Version | Downloads | Last Updated |
|---|---|---|
| 6.1.4 | 6,050 | 7/13/2026 |
| 6.1.1 | 8,490 | 4/4/2026 |
| 6.1.0 | 12,119 | 11/12/2025 |
| 6.0.3 | 1,797 | 10/31/2025 |
| 6.0.2 | 13,602 | 7/20/2025 |
| 6.0.0 | 5,594 | 6/29/2025 |
| 5.2.4 | 8,098 | 5/25/2025 |
| 5.2.3 | 96,499 | 1/28/2024 |
| 5.2.2 | 12,704 | 10/15/2023 |
| 5.2.1 | 15,080 | 7/28/2023 |
| 5.2.0 | 9,264 | 6/8/2023 |
| 5.0.0 | 36,931 | 11/20/2022 |
| 4.6.0 | 50,124 | 5/22/2022 |
| 4.5.0 | 41,090 | 8/25/2021 |
| 4.4.0 | 13,457 | 3/29/2021 |
| 4.3.0 | 117,323 | 6/17/2019 |
Loading failed
Changelog:
- Updated NLog version 6.1.4