Reputation: 13
i'm getting following error when i build my solution in visual studio 2015.
but when i try to add that particular package then visual studio show it already added
Upvotes: 0
Views: 453
Reputation: 615
Use the following command in the Package Manage Console:
Update-Package -reinstall -Project YourProjectName
It is by project, but this way is garanteed it works, at least in 100% of cases that happen to me.
Upvotes: 0
Reputation: 99
Right click solution in visual studio and select "Restore Nuget Packages", it will download the missing packages
Upvotes: 0
Reputation: 142
Did you notice something? the version is different you need version 1.0.5 instead of 1.0.7
Upvotes: 1
Reputation: 3760
Open Nuget Package Manager and pick "Unistall" on this package, than istall it again. If this does not help you do next:
.csproj
fileWeb.config
(or App.config
) if it there. packages.config
fileHope this helps you.
Upvotes: 0