title | author | date | CreateTime | categories |
---|---|---|---|---|
How to fix nuget Unrecognized license type MIT when pack |
lindexi |
2019-08-31 16:55:58 +0800 |
2019-05-29 19:53:52 +0800 |
When I packaging license within the nupkg, I will using License to replace licentUrl.
I using this code to set the license as MIT but it can not pack.
<license type="MIT"/>
Because it is a newest feature.
If your nuget version is 5.0.2 that you should use this code.
<license type="expression">MIT</license>