Skip to content

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

Draft
AndriySvyryd with Copilot wants to merge 1 commit into
preview.7from
copilot/document-no-build-switch
Draft

Document -NoBuild switch for PMC Update-Database and Add-Migration#5431
AndriySvyryd with Copilot wants to merge 1 commit 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

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.

2 participants