After installing automapper 5.1.1 by Jimmy Bogard from NuGet on my class library project I've got the next issue: no one of other packages such as Entity Framework, Ninject cannot be installed. The error message that I've got is:
"An error occurred while retrieving package metadata for 'AutoMapper.5.1.1' from source 'c:\users\username\documents\visual studio 2015\Projects\Solution1\packages'"
Also I cannot uninstall the Automapper package - every time I'm trying it I'm getting about the next:
"Object reference does not point to an object instance."
I'm using the Visual Studio 2015.
How to resolve this problem?
Update nuget package manager Tools>Extensions and Updates>Updates>Visual Studio Gallery> update nuget package manager
Worked for me.
I've got a solution - I installed update 3 on my VS 2015 and after that the problem has gone. But I still have no idea why I had that problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With