//private static DTE2 Dte => (DTE2)Microsoft.VisualStudio.Shell.Package.GetGlobalService(typeof(DTE)); /// <summary> /// Wait for (already happening) initialization and get this extension's package. /// </summary> public static Task <ProjectColoredFramePackage> GetPackageAsync() => ProjectColoredFramePackage.GetCurrentAsync();