.NET ShellExtension (Framework 4.5, Windows 8.1, SharpShell) not working
问题 I tried to implement a custom ShellExtension in Windows 8.1 . Found that really good SharpShell tutorial. [ComVisible(true)] [COMServerAssociation(AssociationType.AllFiles)] public class CountExtProvider : SharpContextMenu { protected override bool CanShowMenu() { // We will always show the menu. return true; } protected override ContextMenuStrip CreateMenu() { // Create the menu strip. var menu = new ContextMenuStrip(); // Create a 'count lines' item. var itemCountLines = new