大网数据广告活动
Web服务器与PHP

NuGet-Based Package Manager is missing

· 52CE 我爱测

This article describes a problem where NuGet-Based Microsoft Package Manager 1.5 or later isn't installed on a computer, and provides a resolution.

This article helps you resolve a problem where NuGet-Based Package Manager 1.5 or later isn't installed on a computer that is running Visual Studio or Visual Web Developer Express.

Original product version:   Visual Studio
Original KB number:   2635185

Symptoms

The following error is displayed when NuGet-Based Package Manager 1.5 or later isn't installed on a computer that is running Visual Studio or Visual Web Developer Express:

Could not create a new [ASP.NET, ASP.NET MVC, etc.] project because the required component NuGet Package Manager is missing or out of date. Please install it and try again.

Cause

Visual Studio or Visual Web Developer Express require NuGet 1.5 or later to be installed.

Resolution

Update NuGet to version 1.5 or later. To do so, follow these steps:

  1. Start Visual Studio or Visual Web Developer Express as an Administrator. In the Tools menu of Visual Studio, select Extension Manager.
  2. In the Extension Manager dialog box, click the Uninstall button for NuGet Package Manager. If NuGet-Based Package Manager doesn't appear, NuGet isn't installed. Follow the instructions below.
  3. In the Extension Manager dialog box, click Restart Now.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/27/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。