Skip to content

Commit

Permalink
Update CommandLaunchIsWiX.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrpai committed Dec 3, 2024
1 parent f17c818 commit 892f5f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Extension/IsWiXExtension/CommandLaunchIsWiX.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ public CommandLaunchIsWiX(TraceSource traceSource)
// Use this object initializer to set optional parameters for the command. The required parameter,
// displayName, is set above. DisplayName is localized and references an entry in .vsextension\string-resources.json.
Icon = new(ImageMoniker.Custom("MyImage"), IconSettings.IconAndText),
Placements = [CommandPlacement.KnownPlacements.ToolsMenu],
Placements = [CommandPlacement.KnownPlacements.ToolsMenu, CommandPlacement.VsctParent(new Guid("{d309f791-903f-11d0-9efc-00a0c911004f}"), id: 521, priority: 0)],
EnabledWhen = ActivationConstraint.ClientContext(ClientContextKey.Shell.ActiveSelectionFileName, @"\.(wxs)$"),
VisibleWhen = ActivationConstraint.ClientContext(ClientContextKey.Shell.ActiveSelectionFileName, @"\.(wxs)$"),
};

/// <inheritdoc />
Expand Down

0 comments on commit 892f5f6

Please sign in to comment.