From 80faa87b0f7b739d88c430e41f0e3fa3b4e09b2e Mon Sep 17 00:00:00 2001 From: Rolf Kristensen Date: Fri, 17 Nov 2023 20:12:49 +0100 Subject: [PATCH] Added mark as IsTrimmable (#168) --- NLog.Windows.Forms/AssemblyMetadataAttribute.cs | 12 ++++++++++++ NLog.Windows.Forms/NLog.Windows.Forms.csproj | 11 +++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 NLog.Windows.Forms/AssemblyMetadataAttribute.cs diff --git a/NLog.Windows.Forms/AssemblyMetadataAttribute.cs b/NLog.Windows.Forms/AssemblyMetadataAttribute.cs new file mode 100644 index 0000000..b788c26 --- /dev/null +++ b/NLog.Windows.Forms/AssemblyMetadataAttribute.cs @@ -0,0 +1,12 @@ +#if NET35 +namespace System.Reflection +{ + [AttributeUsage(AttributeTargets.Assembly)] + internal sealed class AssemblyMetadataAttribute : Attribute + { + public AssemblyMetadataAttribute(string key, string value) + { + } + } +} +#endif \ No newline at end of file diff --git a/NLog.Windows.Forms/NLog.Windows.Forms.csproj b/NLog.Windows.Forms/NLog.Windows.Forms.csproj index b117741..5b7360f 100644 --- a/NLog.Windows.Forms/NLog.Windows.Forms.csproj +++ b/NLog.Windows.Forms/NLog.Windows.Forms.csproj @@ -1,4 +1,4 @@ - + net35;netcoreapp3.1;net6.0-windows true @@ -29,10 +29,13 @@ NLog.snk true - true + true true - true - Full + true + true + true + + true