10 Replies
Did you build and try the command afterwards?
Can we see the code up to the point where you call
AddDbContext
?yes:
And up to where you call
AddPersistence
?Maybe try removing
{}
no, but it builds when I call database update:
I believe EF injects code up to
AddDbContext
and it might not be able to properly do thatall the same
![](https://utfs.io/f/9f00b32e-d699-41e7-9bb8-54539a50ccb0-1nq2cb.png)
and again there's nothing helpful
![](https://utfs.io/f/56625569-b174-4c56-b8e5-6411b530d2f3-1nq2cb.png)
miraculously the problem solved itself