If you still have this problem, follow these steps to fix the problem:
1. Right click on your project and select [Manage NuGet Packages] 2. On the opened popup window, on the left hand pane, select Updates 3. On the right hand pane, at the very top right click on the Update All
During this process, he will ask you if you want to overwrite existing links (not sure about the exact phrase). So say yes to overwrite ...
Now try adding a controller to your project and everything will be fine.
Good luck
Vincy
source share