Hospital.Web -> (right click) Add -> New Scaffolded Item... -> Identity -> (checked) Override all files
I pointed my Identity to the DbContext class. But when adding this error “There was an error running the selected code generator:’ Package restore failed. Rolling back package changes for’ Hospital.Web’.'”
[![enter image description here]
(https://i.sstatic.net/fUupcL6t.png)]
(https://i.sstatic.net/fUupcL6t.png)
[![enter image description here]
(https://i.sstatic.net/654N65SB.png)]
(https://i.sstatic.net/654N65SB.png)
[![enter image description here]
(https://i.sstatic.net/BOF9lK8z.png)]
(https://i.sstatic.net/BOF9lK8z.png)
[![enter image description here]
(https://i.sstatic.net/MMfugrpB.png)]
(https://i.sstatic.net/MMfugrpB.png)
[![enter image description here]
(https://i.sstatic.net/w01fAzY8.png)]
(https://i.sstatic.net/w01fAzY8.png)
What packages should be installed in Hospital.Web
and Hospital.Repository
folders?
[]
(https://i.sstatic.net/GPGCoMKQ.png)
When I looked at other questions I also came across answers saying that you should use DbContext
instead of Identity
. But I need to use Identity.
I saw many similar answers. None of it worked.
Thanks!!!