Errors and warnings

In NuGet 4.3.0+, errors and warnings are numbered as described in this topic and provide detailed information to help you address the issues involved.

The errors and warnings listed here are available only with PackageReference-based projects and NuGet 4.3.0+. NuGet also honors MSBuild properties to suppress warnings or elevate them to errors. For more information, see How to: Suppress Compiler Warnings in the Visual Studio documentation.

Errors

Group Error Numbers
Invalid input errors NU1001, NU1002, NU1003
Missing package and project errors NU1100, NU1101, NU1102, NU1103, NU1104, NU1105, NU1106, NU1107 (previously NU1607), NU1108 (previously NU1606)
Compatibility errors NU1201, NU1202, NU1203, NU1401
NuGet internal errors NU1000
Signed packages errors(creation and verification) NU3000, NU3001, NU3004, NU3008

Warnings

Group Warning numbers
Invalid input warnings NU1501, NU1502, NU1503
Unexpected package version warnings NU1601, NU1602, NU1603, NU1604, NU1605
Resolver conflict warnings NU1608
Package fallback warnings NU1701
Feed warnings NU1801
NuGet internal warnings NU1500
Signed packages warnings(creation and verification) NU3002, NU3018, NU3028