Skip to content

Commit

Permalink
Disable wizard until connection bug has been fixed (#2821)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ authored Feb 1, 2025
1 parent d496214 commit b4062f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions src/GUI/EFCorePowerTools/EFCorePowerToolsPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,15 @@ protected override async Task InitializeAsync(CancellationToken cancellationToke

if (oleMenuCommandService != null)
{
oleMenuCommandService.AddCommand(new OleMenuCommand(
OnProjectContextMenuInvokeHandler,
null,
OnProjectMenuBeforeQueryStatus,
new CommandID(
GuidList.GuidDbContextPackageCmdSet,
(int)PkgCmdIDList.cmdidWizardPoc)));
// temporary disabled until the wizard is ready

////oleMenuCommandService.AddCommand(new OleMenuCommand(
//// OnProjectContextMenuInvokeHandler,
//// null,
//// OnProjectMenuBeforeQueryStatus,
//// new CommandID(
//// GuidList.GuidDbContextPackageCmdSet,
//// (int)PkgCmdIDList.cmdidWizardPoc)));

oleMenuCommandService.AddCommand(new OleMenuCommand(
OnProjectContextMenuInvokeHandler,
Expand Down
4 changes: 2 additions & 2 deletions src/GUI/EFCorePowerTools/EFCorePowerToolsPackage.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</Menus>

<Buttons>
<Button guid="guidDbContextPackageCmdSet" id="cmdidWizardPoc" priority="0x0100" type="Button">
<!--<Button guid="guidDbContextPackageCmdSet" id="cmdidWizardPoc" priority="0x0100" type="Button">
<Parent guid="guidDbContextPackageCmdSet" id="cmdidEdmProjectMenuItemsGroup" />
<Icon guid="ImageCatalogGuid" id="DatabaseConfigurationFile" />
<CommandFlag>IconIsMoniker</CommandFlag>
Expand All @@ -93,7 +93,7 @@
<Strings>
<ButtonText>Reverse Engineer Wizard (preview)</ButtonText>
</Strings>
</Button>
</Button>-->

<Button guid="guidDbContextPackageCmdSet" id="cmdidReverseEngineerCodeFirst" priority="0x0101" type="Button">
<Parent guid="guidDbContextPackageCmdSet" id="cmdidEdmProjectMenuItemsGroup" />
Expand Down

0 comments on commit b4062f2

Please sign in to comment.