diff --git a/Versions.props b/Versions.props
index d3ab9e9..2242e26 100644
--- a/Versions.props
+++ b/Versions.props
@@ -9,8 +9,8 @@
3.6.133
5.0.0
1.0.0-alpha.160
- 1.4.0-pre.1
- 2.5.2-pre.4
+ 1.4.0-pre.9
+ 2.5.2-pre.6
diff --git a/src/xunit.runner.visualstudio/Utility/AssemblyResolution/_DiagnosticMessage.cs b/src/xunit.runner.visualstudio/Utility/AssemblyResolution/_DiagnosticMessage.cs
index 4885036..d242b0d 100644
--- a/src/xunit.runner.visualstudio/Utility/AssemblyResolution/_DiagnosticMessage.cs
+++ b/src/xunit.runner.visualstudio/Utility/AssemblyResolution/_DiagnosticMessage.cs
@@ -1,8 +1,9 @@
using Xunit.Abstractions;
+using Xunit.Sdk;
namespace Xunit;
-class _DiagnosticMessage : IDiagnosticMessage
+class _DiagnosticMessage : LongLivedMarshalByRefObject, IDiagnosticMessage
{
///
/// Initializes a new instance of the class.