Can't Find NuGet with VS 2010 Shell Extension Manager
Following these instructions as best I can, the VS 2010 Shell Extension Manager turns up no results when searching for "nuget". The only deviation as far as I can tell is that the instructions show using VS 2010 Ultimate, and I am using the Shell. I had no problem with AnkhSvn and I can see all kinds of other extensions in the Online Gallery. One other thing, before attempting this I installed the NuGetPackageExplorer (not even really sure what it is, just trying to get off the ground with NuGet and I found it on their CodePlex download site -- ultimately I'd like to publish my own NuGet package, since someone suggested it to me and I've heard about it a couple other times). Any Ideas?
Update
I recently got a new computer (Windows 7 64 bit) and freshly installed Visual Studio 2010 Shell and F# 2.0 and am having the same exact issue. Note: I just checked the About page and it says the only install开发者_运维百科ed component is Visual Web Developer 2010 (seemed odd to me).
It seems like the Visual Studio 2010 "Shell" [1] is not one of the supported applications. Do you have a full version of Visual Studio 2010 Professional, Premium, or Ultimate?
From the NuGet FAQ page [2]:
What is required to run NuGet?
NuGet requires Visual Studio 2010 or Visual Web Developer Express 2010. The NuGet Package Manager Console requires that PowerShell 2.0 be installed. Powershell 2.0 is already installed if you have the following operating system:
- Windows 7
- Windows Server 2008 R2
If you have the following operating systems, you must manually install Powershell 2.0.
- Windows XP SP3
- Windows Server 2003 SP2
- Windows Vista SP1
- Windows Server 2008
[1] Is this the VS 2010 Shell you have? http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=8e5aa7b6-8436-43f0-b778-00c3bca733d3
[2] http://docs.nuget.org/docs/start-here/nuget-faq
Edit: Check what's selected in the left pane of the Extensions Manager. It defaulted to "Installed Extensions" for me, that could be your problem. Select "Online Gallery -> All" then do the search again.
--
Not sure why it's not showing up, but you can install NuGet by going to the website and clicking the blue "Install NuGet" button. This will take you through to a download page for the latest version (1.3).
NuGet can be installed and updated using the Visual Studio Extension Manager. To check if your copy of Visual Studio already has the NuGet extension, look for Library Package Manager in the Tools menu of your copy of Visual Studio.
see documentation here : http://nuget.codeplex.com/wikipage?title=Getting%20Started
精彩评论