Update-Package -Reinstall
this is the answer for my problem.
Missing many dlls
-
15-06-2023 - |
Question
Somehow, I have no idea how, put the project in very weird state where many dll from MVC are missing. Take a look on image, how can I restore them ? I tried with NuGet
install-package aspnetmvc
but it doesn't help
Solution
OTHER TIPS
Those are packages.
1.
Open up Package Manager settings by Going to Tools -> Options... (VS2012) then Package Manager -> General and tick both checkboxes.
2.
Enable NuGet Package Restore
3.
Build your solution.
I'm gonna assume that you changed the target framework before this happened. Remove the references and add them back using NuGet. That will solve this problem
Upgrade You target Framework version Enable NuGet Package Restore.
Go to Package Manager Console and type this
Update-Package
Hit Enter.
After this Rebuild you Project/Solution and all should be good.