ShellExtension COM servers now have a static Class Id between releases

This commit is contained in:
s_falahati 2019-01-17 20:45:43 +03:30
parent d8c1ef6ea5
commit e6e7c2a065
3 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ namespace HeliosDisplayManagement.ShellExtension
{
[ComVisible(true)]
[COMServerAssociation(AssociationType.Class, @"DesktopBackground")]
[Guid("2EC0C798-715B-458E-8C86-5D846F67FBA1")]
internal class HeliosDesktopMenuExtension : SharpContextMenu
{
private static ToolStripMenuItem CreateProfileMenu(Profile profile)

View File

@ -11,6 +11,7 @@ namespace HeliosDisplayManagement.ShellExtension
{
[ComVisible(true)]
[COMServerAssociation(AssociationType.ClassOfExtension, @".exe")]
[Guid("48B49131-2258-4694-879F-A3F96310A220")]
internal class HeliosExecutableMenuExtension : SharpContextMenu
{
protected override bool CanShowMenu()

View File

@ -12,6 +12,7 @@ namespace HeliosDisplayManagement.ShellExtension
{
[ComVisible(true)]
[COMServerAssociation(AssociationType.ClassOfExtension, @".url")]
[Guid("E41ECFB2-3E7D-4A47-8A51-8627F1B21AE5")]
internal class HeliosSteamUrlMenuExtension : SharpContextMenu
{
protected override bool CanShowMenu()