Skip to content

Build: NuGet pack errors NU5125 (licenceUrl) and NU5048 (iconUrl) #6

@tylerd

Description

@tylerd

URL locations for licence and icon are being deprecated in favor of embedding files inside the NuGet package.

NuGet Warning NU5048

NuGet Warning NU5125

This appears in 2 places during the build.

Create-Library-Packages - Uses the DotNetCorePack cake function, which pulls the configuration from the Directory.Build.props file. This show up in the build as errors.

<PackageLicenseUrl>https://github.com/Wyamio/Wyam/blob/master/LICENSE</PackageLicenseUrl>
<PackageIconUrl>https://wyam.io/Content/images/logo-square-64.png</PackageIconUrl>

Create-Theme-Packages - Uses the NuGetPack cake function with a NuGetPackSettings input object. Only the NU5125 licenceUrl Warning, not the IconUrl.

    IconUrl = new Uri("https://wyam.io/assets/img/logo-square-64.png"),
    LicenseUrl = new Uri("https://github.com/Wyamio/Wyam/blob/master/LICENSE"),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions