Closed piaste closed 6 years ago
Addendum: I found out now that the .Design
package is outdated and shouldn't be included.
However, the outcome is the same without the package. Updated issue.
Note that the documentation still references that package. (I'd send a PR if I knew the correct updated procedure...)
As you found out, the Npgsql.EntityFrameworkCore.PostgreSQL.Design package has been obsoleted and is no longer necessary.
On the other hand, the Microsoft.EntityFrameworkCore.Design package (shown in the docs) is still updated and necessary.
The exception you're posting above indeed exists in 2.1.0-rc1 and has already been fixed in dev - rc2 (and/or RTM) will not have this bug. If you want to test scaffolding before these are released, you can simply use the latest package from the unstable feed.
Thank you for the quick response.
Sent a PR to fix the doc reference: #419
Scaffolding in database-first mode gives a cryptic error.
Repro steps:
I get this error: