Whilst trying to restore nuget packages I am getting the following:-
Error 1 The underlying connection was closed: An unexpected error occurred on a send.<
Check if your internet connection is working and your proxy is setup and enabled in Internet Explorer LAN settings. In my case it was trying to download it from internet and failing, as my proxy was disabled! Hope this helps...