Skip to content

2.2: Build fails with error NU5125 #3751

@natemcmaster

Description

@natemcmaster

I attempted to update our build to use a 2.2.100 RTM candidate of the SDK. This includes changes to NuGet which cause the build to fail with:

C:\b\w\d1c9b84e58362abc.dotnet\x64\sdk\2.2.100-rtm-009571\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(202,5): error NU5125: The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead. [C:\b\w\d1c9b84e58362abc\src\Framework\Microsoft.AspNetCore.All\pkg\Microsoft.AspNetCore.All.pkgproj]

Presumably this was introduced in NuGet/NuGet.Client#2450.

@nkolev92 @rrelyea - are there known issues in this? The project in question, Microsoft.AspNetCore.All.pkgproj, is not using a hand-written nuspec.

cc @Eilon blocking issue for 2.2 RTM.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions