mirror of
https://github.com/Corsinvest/cv4pve-admin.git
synced 2026-04-25 12:55:57 +03:00
[PR #147] fix: skip BuildInfo initialization when running EF tools at design-time #279
Labels
No labels
bug
bug
enhancement
feedback
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-admin#279
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/Corsinvest/cv4pve-admin/pull/147
State: closed
Merged: Yes
Summary
BuildInfostatic constructor crashes at EF design-time because the entry assembly isef.dll(noEditionAttribute)if (ApplicationHelper.IsRunningInEfTool) { return; }to skip initialization when running EF CLI toolsTest plan
dotnet ef migrations add ...— should succeed withoutNullReferenceExceptionBuildInfoproperties still populated correctly