diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7a8cb51..b9c5a25 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,13 @@
## Unreleased (v3.1.x)
+## v3.1.x - 2024/02/10
+
+- Update core testlogger to 3.1.140.
+- Fix: exclude code coverage instrumentation for test loggers. See
+ https://github.com/spekt/junit.testlogger/issues/64 and
+ https://github.com/spekt/junit.testlogger/issues/72.
+
## v3.1.17 - 2023/09/17
- Fix for reporting nested test classes. See #48 and
diff --git a/scripts/dependencies.props b/scripts/dependencies.props
index 2236e57..593870e 100644
--- a/scripts/dependencies.props
+++ b/scripts/dependencies.props
@@ -4,7 +4,7 @@
3.0.4
17.3.2
4.18.4
- 3.1.138
+ 3.1.140
15.5.0
diff --git a/src/Xunit.Xml.TestLogger.TestAdapter/Xunit.Xml.TestLogger.TestAdapter.csproj b/src/Xunit.Xml.TestLogger.TestAdapter/Xunit.Xml.TestLogger.TestAdapter.csproj
index d4cdf6c..17232de 100644
--- a/src/Xunit.Xml.TestLogger.TestAdapter/Xunit.Xml.TestLogger.TestAdapter.csproj
+++ b/src/Xunit.Xml.TestLogger.TestAdapter/Xunit.Xml.TestLogger.TestAdapter.csproj
@@ -16,6 +16,7 @@
+
XunitXmlTestLogger.cs
diff --git a/src/Xunit.Xml.TestLogger/Assembly.cs b/src/Xunit.Xml.TestLogger/Assembly.cs
new file mode 100644
index 0000000..a003450
--- /dev/null
+++ b/src/Xunit.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 { }
+}