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
PackageReference breaks Entity Framework 6 #1197
Comments
Which release of EF6 are you using? |
v6.2, the latest stable version. I also found another related problem: under The only way I could get it working was to return to
The crash is due to |
Very good, thank you. Note: SqlCe doesn't hit EOL until July 2021. Nevertheless, is the v6.2 package expected to work with EF6.3? That said, it appears that v6.3 is being worked on: https://www.nuget.org/packages/EntityFramework.SqlServerCompact/6.3.0-preview8-19405-04 |
@InteXX The package still exists, and it may also happen to work with package references due to picking up changes made for the other packages, but it isn't a goal to bring this package to .NET Core or the new project system. What works works, what doesn't work, doesn't work. |
@InteXX I have created an unofficial port of the SQL Compact provider to .NET Core: https://github.com/ErikEJ/EntityFramework6PowerTools/tree/community/src/ErikEJ.EntityFramework.SqlServerCompact |
That looks great, thanks. Is there a corresponding NuGet package? Eventually I'd like to contribute a VB.NET SQL generator for it, but that's only a long-term goal at this point. |
There is, just look at the readme at the link |
I did, but I didn't find a package name. Maybe I'm looking right past it. I did find this in the |
That's the package name. Have you added the additional Nuget source? |
No project open at this time. Just looking. I'll give it a try tomorrow. We should probably stop hijacking this thread. My fault. |
I have updated the readme to make the package name clearer |
This issue has been moved from a ticket on Developer Community.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected:
Creation of a Migrations folder containing a Configuration class (i.e. Code First Migrations are enabled)
Actual:
The above error message
Please provide any additional information below.
Workaround:
We can install the EntityFramework package prior to installing the EntityFramework.SqlServerCompact package in order to mitigate this problem. However, this extra step shouldn't be necessary. The Enable-Migrations CmdLet should be able to walk package dependencies and discover that the requisite packages are installed.
Original Comments
(no comments)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: