Skip to content

Document -NoBuild switch for PMC Update-Database and Add-Migration - #5431

Open
AndriySvyryd with Copilot wants to merge 3 commits into
preview.7from
copilot/document-no-build-switch
Open

Document -NoBuild switch for PMC Update-Database and Add-Migration#5431
AndriySvyryd with Copilot wants to merge 3 commits into
preview.7from
copilot/document-no-build-switch

Conversation

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

PMC Update-Database now supports -NoBuild (EF Core 11), matching the existing -NoBuild on Add-Migration. Neither was documented. This matters because NuGet vulnerability warnings (e.g. NU1902) cause PMC commands to fail even on a successful build — -NoBuild is the escape hatch.

Changes

  • cli/powershell.md

    • Add-Migration: added missing -NoBuild parameter row
    • Update-Database: added -NoBuild parameter row (marked "Added in EF Core 11")
  • what-is-new/ef-core-11.0/whatsnew.md

    • New ### -NoBuild for PMC Update-Database section under Migrations explaining the motivation and usage:
Update-Database -NoBuild

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents the -NoBuild switch for EF Core Package Manager Console (PMC) migrations commands, aligning the PowerShell tools reference with actual behavior and adding release notes context for EF Core 11.

Changes:

  • Added missing -NoBuild parameter documentation for PMC Add-Migration.
  • Documented new -NoBuild support for PMC Update-Database (noted as added in EF Core 11).
  • Added an EF Core 11 “What’s new” section explaining when/why to use Update-Database -NoBuild.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
entity-framework/core/cli/powershell.md Adds -NoBuild parameter rows for Add-Migration and Update-Database in the PMC tools reference.
entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md Adds a new EF Core 11 note describing -NoBuild for PMC Update-Database, including motivation and example usage.

Comment thread entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment thread entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md Outdated
Copilot AI requested a review from AndriySvyryd July 29, 2026 00:20
@AndriySvyryd
AndriySvyryd marked this pull request as ready for review July 29, 2026 00:39
@AndriySvyryd
AndriySvyryd requested a review from cincuranet July 29, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants