New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add-Migration has no 'IgnoreChanges' parameter #1435
Comments
@steamwings - That could be product issue. Are you using EF Core or EF6? |
It's an ASP.NET Core project. I can see I have the EF6 tools component installed, but I don't see a separate component to install for EF Core. |
Can you share a repro project which we can investigate? Moving this to EF6 repo. |
Here's the whole project: |
The parameter is there in 6.3.0. I suspect you're inadvertently using the EF Core cmdlet. |
Yep, I should have been looking at the EF Core reference instead of the EF6 reference. I hope y'all are able to bring migration support to existing databases with EF Core. Thanks! |
Note, to do this on EF Core, comment out the contents of the Up method, run the migration, then uncomment. Issue dotnet/efcore#2167 is about making this experience better. |
When I run Add-Migration InitialCreate –IgnoreChanges in package manager console, I get Add-Migration : A parameter cannot be found that matches parameter name 'IgnoreChanges'.
I just created this project yesterday and I'm running VS2019 which shows no relevant updates available.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: