Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable wizard until connection bug has been fixed #2821

Merged
merged 1 commit into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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