You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
975B

  1. using System;
  2. using System.Diagnostics.CodeAnalysis;
  3. using System.Runtime.InteropServices;
  4. using Microsoft.VisualStudio.Shell;
  5. namespace CommandFileContextMenu
  6. {
  7. [PackageRegistration(UseManagedResourcesOnly = true)]
  8. [InstalledProductRegistration("#110", "#112", "1.0", IconResourceID = 400)] // Info on this package for Help/About
  9. [Guid(VSPackageCommandFileContextMenu.PackageGuidString)]
  10. [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrectly", Justification = "pkgdef, VS and vsixmanifest are valid VS terms")]
  11. [ProvideMenuResource("Menus.ctmenu", 1)]
  12. public sealed class VSPackageCommandFileContextMenu : Package
  13. {
  14. public const string PackageGuidString = "669df51d-2588-4d30-962e-0070898e765e";
  15. public VSPackageCommandFileContextMenu()
  16. {
  17. }
  18. protected override void Initialize()
  19. {
  20. base.Initialize();
  21. Command1.Initialize(this);
  22. }
  23. }
  24. }