:white_check_mark: ensure that the log4net assembly is always signed
diff --git a/src/log4net.Tests/Signing.cs b/src/log4net.Tests/Signing.cs
new file mode 100644
index 0000000..8651674
--- /dev/null
+++ b/src/log4net.Tests/Signing.cs
@@ -0,0 +1,23 @@
+using log4net.Repository;
+using NUnit.Framework;
+using NExpect;
+using static NExpect.Expectations;
+
+namespace log4net.Tests
+{
+ [TestFixture]
+ public class Signing
+ {
+ [Test]
+ public void AssemblyShouldBeSigned()
+ {
+ // Arrange
+ var asm = typeof(LoggerRepositorySkeleton).Assembly;
+ // Act
+ var result = asm.GetName().GetPublicKey();
+ // Assert
+ Expect(result)
+ .Not.To.Be.Empty();
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/log4net/AssemblyInfo.cs b/src/log4net/AssemblyInfo.cs
index 44905c3..a767ff7 100644
--- a/src/log4net/AssemblyInfo.cs
+++ b/src/log4net/AssemblyInfo.cs
@@ -20,6 +20,8 @@
using System.Reflection;
using System.Runtime.CompilerServices;
+// [assembly:AssemblyKeyFile("log4net.snk")]
+
#if (!SSCLI)
//
// log4net makes use of static methods which cannot be made com visible