Replace licenseUrl with SPDX license identifier (minor issue) #700

Merged
gdynamics merged 1 commit from master into master 2020-10-21 11:08:40 -05:00
gdynamics commented 2020-10-21 00:32:09 -05:00 (Migrated from github.com)

Because licenseUrl is going to be deprecated, replace it with the SPDX license identifier for the identical MIT license.

The Microsoft documentation recommends this approach.

This is related to issue https://github.com/jbevain/cecil/issues/699 , which I created.

Before this PR:

PS C:\Users\gdynamics\source\repos\cecil> nuget.exe pack Mono.Cecil.nuspec
Attempting to build package from 'Mono.Cecil.nuspec'.
WARNING: NU5125: The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead.
Successfully created package 'C:\Users\gdynamics\source\repos\cecil\Mono.Cecil.0.11.3.nupkg'.

After:

PS C:\Users\gdynamics\source\repos\cecil> nuget pack Mono.Cecil.nuspec
Attempting to build package from 'Mono.Cecil.nuspec'.
Successfully created package 'C:\Users\gdynamics\source\repos\cecil\Mono.Cecil.0.11.3.nupkg'.
Because licenseUrl is going to be deprecated, replace it with the SPDX license identifier for the identical MIT license. The [Microsoft documentation](https://docs.microsoft.com/en-us/nuget/reference/nuspec#license) recommends this approach. This is related to issue https://github.com/jbevain/cecil/issues/699 , which I created. Before this PR: ``` PS C:\Users\gdynamics\source\repos\cecil> nuget.exe pack Mono.Cecil.nuspec Attempting to build package from 'Mono.Cecil.nuspec'. WARNING: NU5125: The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead. Successfully created package 'C:\Users\gdynamics\source\repos\cecil\Mono.Cecil.0.11.3.nupkg'. ``` After: ``` PS C:\Users\gdynamics\source\repos\cecil> nuget pack Mono.Cecil.nuspec Attempting to build package from 'Mono.Cecil.nuspec'. Successfully created package 'C:\Users\gdynamics\source\repos\cecil\Mono.Cecil.0.11.3.nupkg'. ```
jbevain commented 2020-10-21 11:08:49 -05:00 (Migrated from github.com)

Thank you!

Thank you!
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-jbevain/cecil!700
No description provided.