Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 717 Bytes

File metadata and controls

23 lines (17 loc) · 717 Bytes
title description author ms.date ms.topic ms.reviewer f1_keywords
NuGet Error NU5125
NU5125 Error code
nkolev92
11/15/2018
reference
karann
NU5125

NuGet Warning NU5125

The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead.

Issue

The licenseUrl element is being replaced by the license element.

Solution

If you create your NuGet package using dotnet pack or msbuild -t:pack, follow the documentation on packaging a license expression or a license file using MSBuild targets.

If you use a .nuspec file, use the license element.