Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

VS2019 + UWP + EF v 2.2.6 Broken #19977

Closed
Noemata opened this issue Feb 19, 2020 · 1 comment
Closed

VS2019 + UWP + EF v 2.2.6 Broken #19977

Noemata opened this issue Feb 19, 2020 · 1 comment

Comments

@Noemata
Copy link

Noemata commented Feb 19, 2020

The DB that is created produces this error at runtime:

SQLite Error 1: 'no such table:

This is because the DB is created without any tables present. If I copy in a DB built from an older version of EF, (which has empty tables), EF 2.2.6 works.

I've lost track of what's what? There have been so many revisions of EF for UWP and so little attention given to the UWP side of things, that both the docs and functionality are now broken.

One example of broken docs, when doing:

Add-Migration InitialCreate

If you have just one UWP project in the build tree, you get a build fail message. No where in the docs does it stipulate to unload UWP projects, or to have a separate .Net Standard solution that does not include any UWP projects.

Steps to reproduce

Try following your own instructions for UWP using EF 2.2.6. Fails at multiple stages of the provided instructions when using UWP.

The last link to the docs I was able to find are here:

https://ef.readthedocs.io/en/staging/platforms/uwp/index.html

The de-emphasis of UWP is getting more than a little strange, by the way.

Oh, and if we're to use a newer version of EF, then please provide one fully working example.

@Noemata Noemata changed the title VS2019 + UWP + EF v 2.2.6 VS2019 + UWP + EF v 2.2.6 Broken Feb 19, 2020
@ajcvickers
Copy link
Contributor

EF Core 2.2 is out-of-support Closing this as a duplicate of #19978 for the EF comments.

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants