rsdn / CodeJam

Set of handy reusable .NET components that can simplify your daily work and save your time when you copy and paste your favorite helper methods and classes from one project to another
MIT License
258 stars 35 forks source link

Fix deprecated licenseUrl #59

Closed NN--- closed 5 years ago

NN--- commented 5 years ago
C:\Program Files\dotnet\sdk\2.1.500\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(202,5): warning NU5125: The 'licenseUrl' element will be deprecated. Consider using the 'licens
e' element instead. [CodeJam\Main\src\CodeJam.Main.csproj]

See: https://github.com/NuGet/Home/wiki/Packaging-License-within-the-nupkg#project-properties

    <PropertyGroup>
        <PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
    </PropertyGroup>

    <ItemGroup>
        <None Include="licenses\LICENSE.txt" Pack="true" PackagePath="$(PackageLicenseFile)"/>
    </ItemGroup>
ig-sinicyn commented 5 years ago

Fixed with CJ-cleanup commit