Wyamio / Wyam

A modular static content and static site generator.
MIT License
141 stars 29 forks source link

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

Open tylerd opened 4 years ago

tylerd commented 4 years ago

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"),
tylerd commented 4 years ago

Packing a license expression or a license file

Packing an icon image file

daveaglick commented 4 years ago

FYI - the original Wyam project is being moved to statiqdev to continue work there as Statiq Web (the successor to Wyam and the Wyam blog recipe). Since this issue relates specifically to Wyam, I've transfered it to a new replacement project for legacy Wyam issues.

(This is an automated message)