发布Nuget包命令

nuget spec 生成nuspec文件

nuget pack -Symbols -IncludeReferencedProjects  -Prop Configuration=Release 打包

nuget push xxx.symbols.nupkg user:password -Source http://urlxxx 发布

参考:

https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package

原文地址:https://www.cnblogs.com/dreamofei/p/5796779.html