TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
2.1k
480.9k
Nuget command enable-migrations
Aug 20 2020 9:44 AM
Hi Team
I want to do enable migration some-how i am getting this error back. Any ideas how can i resolve this.
Enable-Migrations
More than one context type was found
in
the assembly
'eNtsaRegistrationTraining'
.
To enable migrations
for
'eNtsaRegistrationTraining.Models.ApplicationDbContext'
, use Enable-Migrations -ContextTypeName eNtsaRegistrationTraining.Models.ApplicationDbContext.
To enable migrations
for
'eNtsaRegistrationTraining.DAL.eNtsaRegCourses'
, use Enable-Migrations -ContextTypeName eNtsaRegistrationTraining.DAL.eNtsaRegCourses.
To enable migrations
for
'eNtsaRegistrationTraining.DAL.eNtsaRegistration'
, use Enable-Migrations -ContextTypeName eNtsaRegistrationTraining.DAL.eNtsaRegistration.
PM> Enable-Migrations -ContextTypeName eNtsaRegistrationTraining.DAL.eNtsaCourses
The context type
'eNtsaRegistrationTraining.DAL.eNtsaCourses'
was not found
in
the assembly
'eNtsaRegistrationTraining'
.
Reply
Answers (
2
)
Publish .NET Core to Azure container registry
How to dynamically changing the color of a fontawesome thumb