diff --git a/scripts/dependencies.props b/scripts/dependencies.props
index d06a670..b0241fc 100644
--- a/scripts/dependencies.props
+++ b/scripts/dependencies.props
@@ -4,7 +4,7 @@
2.0.0
15.7.2
4.9.0
- 3.1.138
+ 3.1.140
15.5.0
diff --git a/src/JUnit.Xml.TestLogger.TestAdapter/JUnit.Xml.TestLogger.TestAdapter.csproj b/src/JUnit.Xml.TestLogger.TestAdapter/JUnit.Xml.TestLogger.TestAdapter.csproj
index fb24207..f0aa7a9 100644
--- a/src/JUnit.Xml.TestLogger.TestAdapter/JUnit.Xml.TestLogger.TestAdapter.csproj
+++ b/src/JUnit.Xml.TestLogger.TestAdapter/JUnit.Xml.TestLogger.TestAdapter.csproj
@@ -14,6 +14,7 @@
+
diff --git a/src/JUnit.Xml.TestLogger/Assembly.cs b/src/JUnit.Xml.TestLogger/Assembly.cs
new file mode 100644
index 0000000..a003450
--- /dev/null
+++ b/src/JUnit.Xml.TestLogger/Assembly.cs
@@ -0,0 +1,16 @@
+// Copyright (c) Spekt Contributors. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+//
+// Skip code analysis errors.
+//
+
+using System.Diagnostics.CodeAnalysis;
+
+[assembly: ExcludeFromCodeCoverage]
+
+namespace System.Diagnostics.CodeAnalysis
+{
+ [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
+ internal sealed class ExcludeFromCodeCoverageAttribute : Attribute { }
+}