A few days ago because of the company's project using the MVC4 framework, with VS2015 not convenient to add a controller, switch back to 2013. Using a feature that was not used for half a year is the NuGet console.
When I tried to install a package using the NuGet console command, I found out that there was such a bad egg.
Switch back to VS2015 try it, yo ah, incredibly can down. That must be VS2013 's problem.
No matter 3,721, immediately Google, Baidu, as well as the major groups of discussion of the method of inquiry ....
The result is still no answer .....
An unexpected idea reminds me that since the package is downloaded from NuGet, the inevitable configuration file is pointing to NuGet.
So I opened the following configuration page
There seems to be no error, but open the VS2015 contrast you will know. Oh hehe
The VS2015 configuration is as follows:
Copy the source path of the nuget.org to VS2013 in VS2015 (there are 200 words omitted from the operation procedure)
Re-execute the following command:
PM > Install-package JQuery
Found it so swift down. Resolved the ....
, to worship you.
Summary: About the Fix this problem, originally already uninstalled 2015 of me, and put back 2015 after the lazy uninstall. The discovery is not a machine problem at all. Finally think about a bit do not know is not VS2013 Update4 automatic upgrade Update5 caused, then VS2013 Update4 unloaded, and then installed VS2013 Update5. But I can't solve the mistake. From the forum also did not find a solution to the great God, and then his own touch of the crawl to climb out.
In order to write this blog, let other friends to help reproduce the problem, since I succeeded down the package, deleted the original new source address, NuGet has been able to be down successfully, do not know why! I hope someone is pointing out.
The Visual Studio NuGet console could not find the package