Showing category results for Visual Studio

Jul 25, 2013
Post comments count0
Post likes count0

Invoke the Manage NuGet Packages dialog programmatically

Luan Nguyen
Luan Nguyen

Recently I've been asked several times for how to invoke the Manage NuGet Packages dialog from VS components programmatically, and optionally auto-invoke the search when the dialog opens. Today I'd like to share the solution in this post. It's actually very straightforward. The Manage NuGet Packages menu command is registered as a standard VS comm...

NuGetVisual Studio
May 21, 2013
Post comments count0
Post likes count0

Package Manager Dialog vs. Package Manager Console, some differences!

ranjinimathrubootham
ranjinimathrubootham

One common misconception we see among NuGet users is that NuGet could only install/ update to the latest version of a package in VS. This is due to the fact that through 'NuGet Package Manager Dialog' we only show that latest (stable or prerelease) version of any package. But, NuGet provides the ability to install/ update to any specific version of...

NuGetVisual Studio
May 20, 2013
Post comments count0
Post likes count1

Play with Packages, programmatically!

ranjinimathrubootham
ranjinimathrubootham

One of the many often seen requests, from developers using NuGet, is examples on our NuGet core APIs. The requests range from finding meta-data for the packages to installing the package programmatically. In this blog post, I will provide a few examples of using NuGet Core APIs. Getting Started To use NuGet Core APIs, install NuGet.Core NuGet pac...

NuGetVisual Studio
May 20, 2013
Post comments count0
Post likes count0

Where else is NuGet used in Visual Studio?

Luan Nguyen
Luan Nguyen

All NuGet users are probably familiar with both the Manage NuGet Packages dialog and the Package Manager Console. These are the main user interfaces for installing and managing packages. However, NuGet is also used in a couple of more subtle places. Below are a few of them that I am aware of. With the exception of the New Project dialog, these di...

NuGetVisual Studio
Mar 25, 2013
Post comments count0
Post likes count0

Improved search syntax on nuget.org and in NuGet Visual Studio extension

Luan Nguyen
Luan Nguyen

The NuGet team recently deployed a new and very useful search capability on nuget.org, which allows you to narrow your search to a pariticular attribute of a NuGet package. For example, if you want to search for packages which contain 'elmah' within the Id, you type 'id:elmah'. (Note that this will execute a 'contains' search, not an exact match se...

NuGetVisual Studio
Sep 26, 2012
Post comments count0
Post likes count0

Invoking NuGet Services from inside Visual Studio

Luan Nguyen
Luan Nguyen

One of the best kept secrets of the NuGet extension is that besides the UI that everyone has become familiar with, it also exports some useful services, via MEF, which allow other components in VS to interact with NuGet. These include installing packages, uninstalling packages and querying for installed packages. Over the past year, the NuGet team...

NuGetVisual Studio
Sep 7, 2012
Post comments count0
Post likes count0

Recent Changes to Package Restore Consent

Howard Dierking
Howard Dierking

When we released NuGet 2.0, one of the changes included the addition of a privacy-related constraint to the package restore feature. More specifically, NuGet 2.0 required that you provide explicit consent, via either a checkbox in the package manager configuration dialog or an environment variable, before it would successfully download required pac...

NuGetVisual Studio
May 18, 2012
Post comments count0
Post likes count0

Package Restore and Consent

Howard Dierking
Howard Dierking

A little while back, our team had the pleasure of talking about NuGet with some privacy experts. These are folks who are passionate about your privacy and laws that protect your privacy. As we were describing NuGet's package restore feature, the privacy experts became interested in the details surrounding the package restore workflow – particularl...

NuGetVisual Studio