Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 717 Bytes

File metadata and controls

23 lines (17 loc) · 717 Bytes
title NuGet Error NU5125
description NU5125 Error code
author nkolev92
ms.date 11/15/2018
ms.topic reference
ms.reviewer karann
f1_keywords
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.