From ce118053b1bd5cbc2b698f628017aefbbcfee5ec Mon Sep 17 00:00:00 2001 From: Daniel Schroeder Date: Sun, 26 May 2019 14:39:33 -0600 Subject: [PATCH 1/2] Re-enable asynch background loading, even though it introduced an issue. In VS 2019.1 synchronous extensions are disabled by default, so we are re-enabling async background loading on this extension, even though it will still cause issue https://github.com/deadlydog/VS.DiffAllFiles/issues/27. See https://github.com/deadlydog/VS.DiffAllFiles/issues/32 for more details. --- VS.DiffAllFiles/VS.DiffAllFilesPackage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VS.DiffAllFiles/VS.DiffAllFilesPackage.cs b/VS.DiffAllFiles/VS.DiffAllFilesPackage.cs index 263491a..7b6bd30 100644 --- a/VS.DiffAllFiles/VS.DiffAllFilesPackage.cs +++ b/VS.DiffAllFiles/VS.DiffAllFilesPackage.cs @@ -34,7 +34,7 @@ public abstract class VS_DiffAllFilesPackage : Package #else // Async Package info: https://docs.microsoft.com/en-us/visualstudio/extensibility/how-to-use-asyncpackage-to-load-vspackages-in-the-background?view=vs-2019 [PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)] - [ProvideAutoLoad(Microsoft.VisualStudio.Shell.Interop.UIContextGuids.NoSolution, PackageAutoLoadFlags.None)] + [ProvideAutoLoad(Microsoft.VisualStudio.Shell.Interop.UIContextGuids.NoSolution, PackageAutoLoadFlags.BackgroundLoad)] public abstract class VS_DiffAllFilesPackage : AsyncPackage #endif { From b18b0a88a51b4211e5808b9f39f736c2907e520e Mon Sep 17 00:00:00 2001 From: Daniel Schroeder Date: Sun, 26 May 2019 14:40:00 -0600 Subject: [PATCH 2/2] Bump version number to indicate bug fix. --- VS.DiffAllFiles.VS2019/source.extension.vsixmanifest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VS.DiffAllFiles.VS2019/source.extension.vsixmanifest b/VS.DiffAllFiles.VS2019/source.extension.vsixmanifest index 477df54..a11660a 100644 --- a/VS.DiffAllFiles.VS2019/source.extension.vsixmanifest +++ b/VS.DiffAllFiles.VS2019/source.extension.vsixmanifest @@ -1,7 +1,7 @@  - + Diff All Files for VS2019 Quickly compare changes to all files in Git (staged/unstaged files or a commit) or TFS (shelveset, changeset, or with pending changes). https://github.com/deadlydog/VS.DiffAllFiles