豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.69 KB

File metadata and controls

36 lines (26 loc) · 1.69 KB
title NuGet Error NU1101
description NU1101 error code
author zhili1208
ms.author lzhi
ms.date 06/25/2018
ms.topic reference
ms.reviewer anangaur
f1_keywords
NU1101

NuGet Error NU1101

Scenario 1

Unable to find package 'PackageId'. No packages exist with this id in source(s): sourceA, sourceB, sourceC

Issue

The package cannot be found on any sources.

Solution

Examine the project's dependencies in Visual Studio to be sure you're using the correct package identifier and version number. Also check that the NuGet configuration identifies the package sources you are expected to be using. If you use packages that have Semantic Versioning 2.0.0, please make sure that you are using the V3 feed, https://api.nuget.org/v3/index.json, in the NuGet configuration.

Scenario 2

Unable to find package 'PackageId'. No packages exist with this id in source(s): sourceA PackageSourceMapping is enabled, the following source(s) were not considered: sourceB, sourceC.

Issue

The package cannot be found on any of the PackageSourceMapping configured sources.

Solution

Examine the project's dependencies in Visual Studio to be sure you're using the correct package identifier and version number. Check your NuGet.Config for the PackageSourceMapping configuration. The package in question may be available on a source that is not configured.