An assembly specified in the application dependencies manifest (.deps.json) was not found

.net-core azure-functions entity-framework-core

Question

When I run:

dotnet ef migrations add InitialCreate

It errors:

Error: An assembly specified in the application dependencies manifest (idb-dialog-flow.deps.json) was not found: package: 'idb-dialog-flow', version: '1.0.0' path: 'idb-dialog-flow.dll'

Here is a link to my project: https://github.com/islaam-database/chatbot.

How do I get this to work?

Edit: I forgot to mention that this project is an Azure Function.

1
1
9/7/2019 10:55:03 PM

Popular Answer

I was able to find a workaround. I created a new project under the same solution. It was a library class project. I ran the entity framework commands in that project and it worked. I then imported that project into my first project and the DB calls were successful.

0
9/8/2019 2:09:41 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow