Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 727 Bytes

File metadata and controls

23 lines (18 loc) · 727 Bytes
title NuGet Warning NU1701
description NU1701 warning code
author zhili1208
ms.author lzhi
ms.date 06/25/2018
ms.topic reference
ms.reviewer anangaur
f1_keywords
NU1701

NuGet Warning NU1701

Package 'packageId' was restored using 'TargetFrameworkA' instead the project target framework 'TargetFrameworkB'. This package may not be fully compatible with your project.

Issue

PackageTargetFallback / AssetTargetFallback was used to select assets from a package. The warning let users know that the assets may not be 100% compatible.

Solution

Change the project's target framework to one that the package supports.

[!INCLUDE nugetsolver-tool]