Locating the NuGet 3 package cache

With the new NuGet version included with Visual Studio 2015 there have been major changes in its UI and functionality, and one of the seems to be an overly aggressive cache that is the first preference when fetching package versions.

This is problematic if you are creating a new NuGet package and want to test a quick series of changes but don’t want to upgrade its version number; the cached package will be fetched always even if your package source is set to a local folder.

While on the old versions of NuGet it sits in %LOCALAPPDATA%\NuGet\Cache, from NuGet 3 onwards the new cache location is in %USERPROFILE%\.nuget\packages, and each package has its own folder, containing one subfolder for each version. When deleted from here, a fetch of the original package source will be forced.

UniversalRateReminder updated: Windows 10 support and Send Feedback dialog

Just in time (one week left!) for the Go ahead, rate my Windows 10 app!, the UniversalRateReminder package has been updated with some new features:

  • Added support for Windows 10 Universal Windows Platform apps.
  • Added the option to reset the counter when the app is updated (thanks @timothystewart6 for the contribution!).
  • Added a new SendFeedback dialog for asking the user to send an email containing valuable feedback.

There is one breaking change, the RatePopup.CheckRateReminder function changing its name to RatePopup.CheckRateReminderAsync and now returning an enum value that tells if the dialog was not displayed, if the user chose to rate the app or if it was dismissed.

If the user chooses not to rate the app (or if you want to use it in other parts of the application), you can now show another pop up for asking to send an email containing feedback. For this, use the FeedbackPopup.ShowFeedbackDialogAsync function.

As always you can download it from NuGet or if you want to take a look at the source code or samples provided (or even contribute!), check its GitHub repository.