have to reinstall all nuget packages in solution net cor code example Example: vs force restore all packages command line Update-Package -reinstall