2019-8-31-How-to-fix-nuget-Unrecognized-license-type-MIT-when-pack

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>

Packaging License within the nupkg · NuGet/Home Wiki

posted @   lindexi  阅读(51)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示