Skip to content

Releases: pishangujeniya/efcore-helper

EF Core Helper v1.0.7

Choose a tag to compare

@github-actions github-actions released this 11 Sep 20:43

[1.0.7] - 2026-09-12

Added

  • Generate SQL Script Default Export to Startup Project Root:
    • ScriptMigrationDialog automatically defaults the output script path to script.sql in the root of the selected startup project (<StartupProjectRoot>\script.sql).
    • Real-time command preview instantly reflects the --output argument with the default or custom script path.
    • Dynamically updates the target directory when changing startup projects while preserving custom filenames.
    • The "Browse..." save dialog pre-initializes to the startup project root folder with filename script.sql.
    • Automatically opens the generated script.sql document directly in the Visual Studio code editor on completion.

Fixed

  • Startup Project Selection Across All Dialogs:
    • Added Startup Project dropdown selector to dialogs that previously lacked it (RemoveMigrationDialog, ScriptMigrationDialog, ScaffoldDbContextDialog, OptimizeDbContextDialog).
    • Preselects the startup project chosen in the EF Core Tool Window toolbar across all 8 modal dialogs.
    • Automatically queries and defaults to the solution's active startup project configured in Visual Studio via VsSolutionService.
    • Ensures --startup-project is reliably populated in generated command previews and command executions across all actions.

Changed

  • Visual Studio Menu Rebranding & Icon Integration:
    • Rebranded top-level Tools menu to Tools > EF Core Helper > EF Core Helper Tool Window.
    • Rebranded Solution Explorer project context menu to EF Core Helper > Open EF Core Helper.
    • Updated tool window dock caption to EF Core Helper.
    • Integrated dedicated 16x16 icon (Icon16.png) for VSCT command tables so the extension icon displays cleanly in Visual Studio menus.

EF Core Helper v1.0.6

Choose a tag to compare

@github-actions github-actions released this 11 Sep 09:17

[1.0.6] - 2026-09-11

Added

  • Global dotnet-ef Tool Installation & Auto-Update:
    • Automatically detects whether the dotnet-ef CLI global tool is installed and checks NuGet for newer tool releases (non-blocking with quick timeout).
    • One-click Install dotnet-ef banner and status bar action if the tool is missing from the developer's environment.
    • One-click Update dotnet-ef action toolbar button and status bar indicator when an update is available, streaming live CLI execution directly into the Visual Studio Execution Console.
  • Latest-First Migration Ordering: Migrations are now sorted descending by creation timestamp by default across the migrations list and all target migration dropdowns (newest migrations at the top, oldest at the bottom).
  • Native Vector Migration Glyphs: Added crisp database migration vector icons to migration list items that cleanly adapt color and opacity to selection and theme states.
  • Empty-State Placeholder: Added an informative, theme-aware empty state overlay in the tool window when no migrations exist in the selected project.
  • Themed Tool Window Tabs: Created native Visual Studio TabControl and TabItem control templates utilizing ToolWindowTabSelectedTabKey, ToolWindowTabSelectedTextKey, and active bottom border indicators, replacing default Windows Aero tabs.
  • Themed Context Menus: Created native ContextMenu and MenuItem styles using CommandBarMenuBackgroundGradientKey and CommandBarHoverOverSelectedKey, ensuring right-click menus match Dark and Light themes.

Fixed

  • Dark Mode Migration List Contrast: Replaced default WPF Aero ListBoxItem container template with a dedicated VS shell template. Resolved issue where inactive selected items displayed blinding #D9D9D9 light-gray backgrounds and illegible text in Visual Studio Dark Mode.
  • Dynamic Selection & Hover Brushes: All list items now dynamically bind to HighlightKey / HighlightTextKey when active and CommandBarHoverOverSelectedKey / CommandBarBorderKey when hovered or inactive.
  • Themed ScrollViewers Across All Dialogs: Applied Visual Studio's VsResourceKeys.ScrollViewerStyleKey to all modal dialog scroll viewers and text areas, ensuring scrollbars render in dark mode when the Dark theme is active.
  • Execution Console Selection Theming: Configured explicit dynamic CaretBrush and SelectionBrush for the streaming execution console TextBox.

EF Core Helper v1.0.5

Choose a tag to compare

@github-actions github-actions released this 08 Sep 06:06

[1.0.5] - 2026-09-08

Fixed

  • Marketplace Package Compliance: Fixed Visual Studio Marketplace upload validation failures where container parts (.dll, .pkgdef, LICENSE.txt, Icon.png) were rejected as not listed in the package manifest.
  • Explicit Manifest Asset Declarations: Fully declared all package components, MEF components, and referenced runtime assemblies (EFCoreHelper.Core.dll, Community.VisualStudio.Toolkit.dll, System.Text.Json.dll, System.Text.Encodings.Web.dll, Microsoft.Bcl.AsyncInterfaces.dll) directly in extension.vsixmanifest <Assets>.
  • VSIX v3 Manifest Generation: Modernized the packaging pipeline in build.ps1 to supply a structured files manifest to VsixUtil, producing fully compliant manifest.json and catalog.json descriptors registering all container parts.
  • Automated Package Verification: Added post-packaging Open Packaging Conventions (OPC) and manifest.json integrity validation to build.ps1 to prevent incomplete VSIX uploads.

EF Core Helper v1.0.4

Choose a tag to compare

@github-actions github-actions released this 08 Sep 05:34

[1.0.4] - 2026-09-08

Added

  • Custom Native DbContext Dropdown Template: Items display the DbContext name in bold accompanied by a subtle (ProjectName) badge for easy identification across multi-project solutions.
  • Dynamic Project Synchronization: Selecting a DbContext belonging to a different project automatically synchronizes the Target Project dropdown to that DbContext's owner project.
  • Solution-Wide Context Fallback: If the currently selected project defines no DbContexts, the context selector automatically displays all DbContexts available across the entire solution.

Changed

  • Intelligent Target Project Selection: When opening any dialog or the tool window, EF Core Helper now automatically detects and selects the project containing DbContexts/migrations instead of defaulting blindly to the first project in the solution.

Fixed

  • Expanded DbContext Detection Scanner: Regex scanner now reliably recognizes C# 12 primary constructors (class AppDbContext(...) : DbContext(...)), generic identity base classes (IdentityDbContext<TUser>), multiple interface inheritance, and classes spanning multiple lines.
  • Multi-Context Detection: Scanner now detects multiple DbContext definitions within a single source file.
  • WPF ComboBox Binding Conflict: Removed conflicting programmatic DisplayMemberPath assignments that caused blank item rendering or InvalidOperationException in WPF dialogs.