We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a1a5f0 commit e26e1ddCopy full SHA for e26e1dd
src/log4net.Tests/Signing.cs
@@ -0,0 +1,23 @@
1
+using log4net.Repository;
2
+using NUnit.Framework;
3
+using NExpect;
4
+using static NExpect.Expectations;
5
+
6
+namespace log4net.Tests
7
+{
8
+ [TestFixture]
9
+ public class Signing
10
+ {
11
+ [Test]
12
+ public void AssemblyShouldBeSigned()
13
14
+ // Arrange
15
+ var asm = typeof(LoggerRepositorySkeleton).Assembly;
16
+ // Act
17
+ var result = asm.GetName().GetPublicKey();
18
+ // Assert
19
+ Expect(result)
20
+ .Not.To.Be.Empty();
21
+ }
22
23
+}
src/log4net/AssemblyInfo.cs
@@ -20,6 +20,8 @@
using System.Reflection;
using System.Runtime.CompilerServices;
+// [assembly:AssemblyKeyFile("log4net.snk")]
24
25
#if (!SSCLI)
26
//
27
// log4net makes use of static methods which cannot be made com visible
0 commit comments