EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

I cannot migrate

Open Amirhonali opened this issue 1 year ago • 3 comments

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

Amirhonali avatar Jul 27 '24 06:07 Amirhonali

this exemption only on maOS

Amirhonali avatar Jul 27 '24 06:07 Amirhonali

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.

ajcvickers avatar Aug 12 '24 11:08 ajcvickers

can you send me your telegram link

Amirhonali avatar Aug 19 '24 10:08 Amirhonali