You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to find design-time provider assembly. #914
I'm trying to use the new EF7 connector, with database first approach. The database is already set up, but creating the entities out of the database gives me a headache.
I use the following command in the 'Package Manager Console':
It keeps telling me this:
Unable to find design-time provider assembly. Please install the EntityFramework7.Npgsql.Design NuGet package and ensure that the package is referenced by the project.
Anyone having the same problem that found a fix?
As this printscreen shows, I do reference EntityFramework7.Npgsql.Design.
@adopilot, @eBerdnA, @sander-ashwin, I looked into this and easily reproduced the problem using a traditional .csproj project, but not with the new DNX/project.json build which worked fine.
Digging in, I found that EF7.Npgsql.Design 3.1.0-rc1-4 had a badly signed assembly. I just published 3.1.0-rc1-5 which is correctly signed and managed to scaffold a database.
Can you guys all retry and let me know? Note that you can pass the -Verbose switch to Powershell Scaffold-DbContext to get more info, including stack traces, which would help debug things.
Activity
roji commentedon Dec 26, 2015
I've seen this on my machine too, although everything worked well at some point. I promise to take a look in the next few days.
roji commentedon Dec 27, 2015
@adopilot, @eBerdnA, @sander-ashwin, I looked into this and easily reproduced the problem using a traditional .csproj project, but not with the new DNX/project.json build which worked fine.
Digging in, I found that EF7.Npgsql.Design 3.1.0-rc1-4 had a badly signed assembly. I just published 3.1.0-rc1-5 which is correctly signed and managed to scaffold a database.
Can you guys all retry and let me know? Note that you can pass the -Verbose switch to Powershell Scaffold-DbContext to get more info, including stack traces, which would help debug things.
h3x4d3c1m4l commentedon Dec 27, 2015
Awesome! It now works correctly.
Thank you very much for the quick fix :) guess this one can be closed.