Check that the installed packages sha matches the lock file. fail if not the same. Make sure error messages are good in VS and nuget.exe