From a4e97d8c5caf27c9ab7818686a0b37451269250c Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Tue, 23 Aug 2022 09:46:42 -0300 Subject: [PATCH] Do not force MEF component initialization This can hang VS if the cache is being rebuilt and we're requesting it synchronourly. Fixes #34 --- src/Xunit.Vsix/VsClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xunit.Vsix/VsClient.cs b/src/Xunit.Vsix/VsClient.cs index 6cc6f6d..aac558f 100644 --- a/src/Xunit.Vsix/VsClient.cs +++ b/src/Xunit.Vsix/VsClient.cs @@ -320,7 +320,7 @@ bool Start() // Retrieve the component model service, which could also now take time depending on new // extensions being installed or updated before the first launch. - var components = services.GetService(); + //var components = services.GetService(); //if (Debugger.IsAttached) //{