diff --git a/src/VisualStudio/IntegrationTest/IntegrationService/IntegrationService.cs b/src/VisualStudio/IntegrationTest/IntegrationService/IntegrationService.cs index 34e708ade6622..a61fe4e5f8bb9 100644 --- a/src/VisualStudio/IntegrationTest/IntegrationService/IntegrationService.cs +++ b/src/VisualStudio/IntegrationTest/IntegrationService/IntegrationService.cs @@ -68,5 +68,9 @@ public string Execute(string assemblyFilePath, string typeFullName, string metho return objectUri; } + + // Ensure InProcComponents live forever + public override object InitializeLifetimeService() + => null; } }