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

Latest commit

 

History

History
21 lines (17 loc) · 740 Bytes

File metadata and controls

21 lines (17 loc) · 740 Bytes
title NuGet Warning NU1608
description NU1608 warning code
author zhili1208
ms.author lzhi
ms.date 06/25/2018
ms.topic reference
ms.reviewer anangaur
f1_keywords
NU1608

NuGet Warning NU1608

Detected package version outside of dependency constraint: 'PackageA' 1.0.0 requires 'PackageB' (= 1.0.0) but version 'PackageB' 2.0.0 was resolved.

Issue

A resolved package is higher than a dependency constraint allows. This means that a package referenced directly by a project overrides dependency constraints from other packages.

Solution

In some cases this is intentional and the warning can be suppressed. Otherwise, change the project's reference to the package to widen its version constraints.