(一)在(https://www.nuget.org)注册账号并生成APIKEY

对于打不开时可以切换到其他源:如  <add key="huaweicloud" value="https://mirrors.huaweicloud.com/repository/nuget/v3/index.json" />

VS2017 NuGet包管理

VS2017 NuGet包管理

(二)在命令行窗口启动nuget.exe。

VS2017 NuGet包管理 

(三)生成【*】.nuspec文件(将nuget.exe放置在项目目录)

VS2017 NuGet包管理

注意下图③处的id,version 打包后会生成【id】.[version].nupkg的文件,如:core.1.0.0.nupkg

VS2017 NuGet包管理

(四)生成【id】.[version].nupkg文件

VS2017 NuGet包管理

VS2017 NuGet包管理

VS2017 NuGet包管理

【参考指南】

https://www.cnblogs.com/surfsky/p/8072993.html

相关文章:

  • 2022-12-23
  • 2021-06-04
  • 2021-12-13
  • 2022-12-23
  • 2021-09-25
  • 2021-08-07
猜你喜欢
  • 2021-05-26
  • 2021-06-03
  • 2021-10-05
  • 2021-07-21
  • 2021-07-29
  • 2022-12-23
相关资源
相似解决方案