Nuget Action Plan-update to 1.1, Set automatic update, get nuget package Browser

Source: Internet
Author: User

Original article address: nuget Action Plan-upgrade to 1.1, setup automatic updates, get nuget package Explorer

I have found three small actions for you. Dear readers, they will make your life better. What do you do with me while watching?

First, you must installNuget, A. Net Package Manager, what? You already have it? Which version is 1.1? Is the setting automatically updated?

Action 1: automatically checks for extended updates

In tools> options, select environment | Extension Manager in the environment ), then, click automotically check for updates to installed extensions ).

When you install the Visual Studio extension, open it. For example, if nuget is installed, but it is not clear whether an update exists. In many cases, if you do not pay attention to it, your extension will expire. For example, nuget 1.0 is installed with ASP. net mvc, but you have not noticed that it has been updated.

Why not? Because the update prompt is soObvious! That's right! Have you noticed the following?

It is more convenient to enable automatic prompts. If you want a prompt on the cool taskbar, you can also install Visual Studio productivity power tools.

When a new content exists, a prompt is displayed.

Action2: Update to nuget 1.1

If you want to manually update the file, go to tools> Extension Manager and click Update on the left side. This dialog box is displayed. Pay attention to the current version and new version, click Update.

In this way, you are updated to the latest version and will be prompted to update later.

Visual Studio SP1 problems:If you are using Visual Studio SP1, You Need To uninstall nuget 1.0 and install nuget 1.1 first. Because SP1 has better support for signed packets, nuget 1.1 uses signatures. Run as administrator to uninstall nuget1.0, press Ctrl-shift when you click Visual Studio, or right-click the menu and select Run as administrator from the title bar of the window, you can see the Administrator prompt. If it is not run as an administrator, the unmount button will be dimmed and the entire operation will take less than 2 minutes.

Action3: Get the nuget package Browser

Luan, A nuget developer, created this cool tool:Nuget package explorer,You only need to click to complete the installation in a few seconds. You can also download http://nuget.codeplex.com/releases. In other words, there is a command line.

There are a series of reasons that the nuget package browser is a cool tool. In fact, there are five:

First, a cool high-resolution icon for the. nupkg file. Thank you very much.Lenny baconCreate these icons and provide them to the community.

Second, you can see all the detailed content, metadata, and file content.

Third, the package can be opened directly through the source, and you can directly browse their content without decompression.

Fourth, you can create a new package in the tool.

Fifth, you can directly publish it in the nuget package browser.

You can perform all operations on the GUI or the command line interface,

Prerequisites:

To install nuget, powershell 2.0 is required. If you are using the following system, it has been installed:

  • Windows 7
  • Windows Server 2008 r2

If you use the following system, you can manually install: manually install powershell 2.0.

  • Windows XP SP3
  • Windows Server 2003 sp2
  • Windows Vista SP1
  • Windows Server 2008

If you have any questions about nuget, refer to: Known issues.

Related links:

  • Nuget package of the week #1-ASP. NET Sprite and image Optimization
  • Updating and publishing a nuget package-Plus making nuget packages smarter and avoiding source edits with webactivator
  • Creating a nuget package in 7 easy steps-Plus using nuget to integrate ASP. net mvc 3 into existing web forms applications
  • Take nuget to the next level with sample packages
  • An Open SourceNugetwizard project at codeplexFor creating nuget packages from Visual Studio projects, folders, and more.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.