© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
16 replies
гого

Issues with EntityFramework. Unable to add-migrations, enable-migrations.

Im learning asp.net mvc and im trying to create a simple database with entity-framework and DbContext. Im encountering an issue where when i try to enable-migrations in NuGet package manager i get an exception thrown "Exception has been thrown by the target of an invocation.".
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ EntityFramework migrations PostgreSQL
C#CC# / help
3y ago
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
C#CC# / help
10mo ago
problem with entityframework migration
C#CC# / help
3y ago