Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.2 KB

File metadata and controls

38 lines (24 loc) · 1.2 KB
title description author ms.author ms.date ms.topic ms.reviewer f1_keywords
NuGet Warning NU5101
NU5101 Warning code
mishra14
jodou
8/14/2018
reference
anangaur
NU5101

NuGet Warning NU5101

Scenario 1

The assembly 'lib\project.dll' is placed directly under 'lib' folder. It is recommended that assemblies be placed inside a framework-specific folder. Move it into a framework-specific folder.

Issue

The folder being packaged contains an assembly file that is directly under a lib folder.

Solution

While packaging a folder please ensure that all assembly files are placed inside a framework-specific folder under a lib folder.

Scenario 2

The assembly 'lib\project.dll' will be ignored when the package is installed after the migration.

Issue

The package contains an assembly file that is directly under a lib folder. The package will not be compatible with a package reference type of project.

Solution

Please request the package author to fix the package such that all assemblies are placed inside a framework-specific folder under a lib folder. You can read more about it in NuGet docs.