When you create a simple menu command with the VSPackage wizard, it creates code snippets in you package class: // --- Package attributes omitted for clarity public sealed class SimpleCommandPackage : Package { // --- Constructor generated by VSPackage...