Manage NuGet Packages For Solution - where is it? - visual-studio-2012

I have just installed VS2012 and have noticed that in the Tools >> Library Package Manager option that Manage NuGet Packages For Solution is missing.
Package Manager Console and Package Manager Settings are available but the option I mentioned is not there.
I attempted to download Nuget and then restart VS2012 but nothing has changed.
Also, when I installed Vistual Studio I included all the libraries available, so I am not sure how I have missed it?
Could anyone tell me how to get the Manage NuGet Packages option onto VS2012?

I don't know if you can without opening a solution. Once you do go to the Solution Explorer, right click on solution and there is the option as Manage NuGet Packages for Solution. Opening the solution also makes appear extra options in the Tools -> Library Package Manager: Manage NuGet Packages for Solution and Package Visualizer.
Edit
As #atconway said in the comment, you can't do it while debugging.

You must have it in debug mode, stop the if you are debugging and you will see 'Manage NuGet Package for solution' in the list.

On the Tools menu, click the Extensions and updates.

You might be in the debugging mode(application might be running).
Go to
Debug-> Stop Debugging
Now you will be able to see "Manage NuGet Packages For Solution" under
Tools> NuGet Package Manager> Manage NuGet Packages For Solution

Tools > Extension Manager > Online Gallery;
You will see "Manage NuGet Packages For Solution" and press download.
After finishing download, Save your project first, and restart your Visual Studio, that's all.

Related

Is there an extension in Visual studio code to get actually installed versions of packages from package.json?

In WebStorm there's a great way to know which version of a package actually installed in your node_modules, by ctrl+hovering on the package name in package.json. Is there an extension with a similar funtionality in VS code? Tried this one https://marketplace.visualstudio.com/items?itemName=ldd-vs-code.better-package-json
But it seems abandoned
The VersionLens extension can do this.
To get it to automatically show the versions like WebStorm:
Install the extension.
In the extension list, click the gear and choose Extension settings.
Scroll to the bottom and check the box for Show on startup.
Then restart VSCode. It won't show the versions instantly because it has to analyze the dependencies, but they will show up after awhile.

How to create nuget package for xamarin.ios

I have created a Xamarin.iOS UI component without core project, only a Xamarin.iOS project, and I would like to package it with nuget which I can use across several projects. But I can't handle it.
I'm looking for proper steps for creating a Nuget Package based on my Xamarin solution.
The only thing I found is this command line nuget pack your.nuspec.
Obviously I'm on mac.
Thank's
Anthony;
Easiest way to make a nuget for ios - Visual studio for Mac.
Open project settings in ios settings page and enable "create package when building the project".
Then go to the Metadata and fill it. After that choose release mode and build, and finally check output directory(yourprojectname/bin/release).

I cannot see all versions of a NuGet Pacakge

I am doing some investigation of NuGet to determine if I can use it to distribute various software components. All of these components are C++ based so I'm using CoApp PowerShell Tools to create the NuGet package files. I have placed these .nupkg files on a network folder for distribution. However, when accessing the packages via Visual Studio 2012, I can only see the latest version. Is there a way to view all of the versions of a particular package?
Here is the network folder:
Here is what I see in Visual Studio 2012:
You're supposed to only see the latest version. If you want to install a specific version, you'll have to use the Package Manager Console.
Install-Package SYS_STANDARDS -Version 1.3.1.0
If that isn't acceptable for your requirements, then Nuget isn't the best way to distribute your code.
Newer versions of Visual Studio have a drop down menu that can be opened to view and select different versions of a package

Visual studio saves nuget sources from local config in machine config

So I'm using Artifactory to host my NuGet packages and we have 2 different repos for 2 different solutions.
Each solution has a local Nuget.config file that adds its own source right after running the command (which doesn't seem to work in VS) and disables the standard Nuget feed.
The problem is that if I open the Package Manager Settings in visual studio, choose the package sources sub section and click ok, VS will then save that custom repo in the %appdata%/Nuget/Nuget.config file. So now when I open the other solution it will see both repositories.
Thanks for reporting the issue. Ported it over to codeplex as https://nuget.codeplex.com/workitem/3794. Thanks.

Resharper changing Nuget package DLLs when Visual Studio starts

I'm having an issue with my solution, where opening Visual Studio will cause some of my Nuget package DLLs to be overridden.
I've found this only happens when Resharper is installed. Uninstalling it, or suspending it makes the problem go away.
I'm finding that it's only happening for Nuget packages in my local repository, and the overridden DLLs look incomplete (possibly an older version, but still signed as the latest version). Building the solution then fails. I need to revert the DLLs in source control, then build for it to work.
I've tried finding references to old versions of the Nuget package in my solution, but there aren't any.
Does anyone know how to stop Resharper changing my DLLs when Visual Studio loads?
And, any suggestions about what might be the bigger issue with my Nuget packages?
Issue, seems, that you changed your local copy of DLL from package content in packages folder.
It's bad practice. If you need to modify DLL inside some package - you better to create your own package with necessary DLLs.

Resources