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

image

Was it helpful?

Solution

Update-Package -Reinstall this is the answer for my problem.

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.

Package Manager Settings

2.

Enable NuGet Package Restore

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top