Package restore failed. Rolling back package changes


This article discusses what to do when your package restore fails.

Steps to Complete:

1. In Visual Studio 2019, goto Tools > Options > Nuget Package Manager >Package Manager Setting > General > Clear All Nuget Cache(s).

2. You may need to change your target framework in your project to what was it before

  • You can do this by opening the .csproject file in a text editor

3. Ex:


For more information, refer to this post:

Evan Warren