You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/GtmExtension/GtmPackage.cs
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,10 @@
1
-
usingSystem;
2
-
usingSystem.ComponentModel.Design;
3
-
usingSystem.Diagnostics;
4
-
usingSystem.Diagnostics.CodeAnalysis;
5
-
usingSystem.Globalization;
6
-
usingSystem.Runtime.InteropServices;
7
-
usingSystem.Threading;
8
-
usingSystem.Threading.Tasks;
9
1
usingMicrosoft.VisualStudio;
10
-
usingMicrosoft.VisualStudio.OLE.Interop;
11
2
usingMicrosoft.VisualStudio.Shell;
12
3
usingMicrosoft.VisualStudio.Shell.Interop;
13
-
usingMicrosoft.Win32;
4
+
usingSystem;
5
+
usingSystem.Diagnostics.CodeAnalysis;
6
+
usingSystem.Runtime.InteropServices;
7
+
usingSystem.Threading;
14
8
usingTask=System.Threading.Tasks.Task;
15
9
16
10
namespaceGtmExtension
@@ -36,6 +30,7 @@ namespace GtmExtension
36
30
[InstalledProductRegistration("#110","#112","1.0",IconResourceID=400)]// Info on this package for Help/About
37
31
[Guid(GtmPackage.PackageGuidString)]
38
32
[SuppressMessage("StyleCop.CSharp.DocumentationRules","SA1650:ElementDocumentationMustBeSpelledCorrectly",Justification="pkgdef, VS and vsixmanifest are valid VS terms")]
33
+
[ProvideAutoLoad(UIContextGuids80.SolutionExists,PackageAutoLoadFlags.BackgroundLoad)]// Load the extension when a solution is open.
0 commit comments