Skip to content

Commit 4ce8258

Browse files
committed
NLog v6 - Preview1 (Optimizes NLog v5.2)
1 parent 4b0e53e commit 4ce8258

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_posts/2025-04-29-nlog-6-0-major-changes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ NLog 6.0 is a major version release, and introduces breaking changes to support
99

1010
### NLog supports AOT
1111

12+
NLog v6 now supports AOT-builds without warnings, and optimizes the support for build-trimming that was added with [NLog v5.2.2](https://nlog-project.org/2023/05/30/nlog-5-2-trim-warnings.html).
13+
1214
NLog has traditionally relied on reflection to dynamically discover requirements for target output.
13-
But reflection does not always work well with build trimming, and before NLog marked itself to be excluded from trimming.
15+
But reflection does not always work well with build-trimming, and before NLog marked itself to be excluded from trimming.
1416

1517
NLog includes many features, and each feature often introduces additional dependencies on the .NET library.
1618
This can lead to overhead for AOT builds, as it must include and compile all the relevant source code.

0 commit comments

Comments
 (0)