Skip to content
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

Enable-Migrations command does not work with EF 6.3.0 #1348

Closed
xantari opened this issue Oct 5, 2019 · 3 comments
Closed

Enable-Migrations command does not work with EF 6.3.0 #1348

xantari opened this issue Oct 5, 2019 · 3 comments

Comments

@xantari
Copy link

xantari commented Oct 5, 2019

When running Enable-Migrations with EF 6.3.0 I get the following:

PM> Enable-Migrations
Enable-Migrations : Cannot bind argument to parameter 'Path' because it is null.
At line:1 char:1
+ Enable-Migrations
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Enable-Migrations], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Enable-Migrations

Steps to reproduce

Open Package Manager Console in VS 2019 and run Enable-Migrations on a class that has a DbContext with EF 6.3.0

Further technical details

EF version: 6.3.0
Database Provider: EntityFramework.SqlServer
Operating system: Windows 10
IDE: VS 2019 16.3.1

@xantari
Copy link
Author

xantari commented Oct 5, 2019

BTW, this is all full framework .NET 4.7.2 projects. Not .NET Core/Standard.

@xantari
Copy link
Author

xantari commented Oct 5, 2019

Reverting to 6.2.0 fixes this issue.

@bricelam
Copy link
Contributor

bricelam commented Oct 7, 2019

Duplicate of #1290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants