Open Amirhonali opened 1 month ago
this exemption only on maOS
This issue is lacking enough information for us to be able to fully understand what is happening. Please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing so that we can investigate.
can you send me your telegram link
Type of issue
Typo
Description
[Введите отзыв здесь] amirhon@Noutbuk-Amirhon Infrastructure % dotnet ef migrations add InitialCreate Build started... Build succeeded. Unable to create a 'DbContext' of type ''. The exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions' while attempting to activate 'Infrastructure.DataAccess.BookCatalogDbContext'.' was thrown while attempting to create an instance. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728 amirhon@Noutbuk-Amirhon Infrastructure %
Page URL
https://learn.microsoft.com/ru-ru/ef/core/dbcontext-configuration/#constructor-argument
Content source URL
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/dbcontext-configuration/index.md
Document Version Independent Id
b0a3d5ad-b62c-1ff4-386a-f11e350eea0c
Article author
@ajcvickers