1.nuget注册并获取apikey

2.下载nuget.exe

3.设置apikey

  nuget setApiKey <apikey>

4.开发程序集

5.进入.csproj目录生成描述文件

  nuget spec

  编辑描述文件

6.生成类库包

  nuget pack xxx.csproj

  也可以指定配置

  nuget pack xxx.csproj -Prop Configuration=Release

  生成的类包为:xxx.{version}.nupkg

7.发布类库包

  nuget push xxx.1.0.0.0.nupkg

 

相关文章:

  • 2021-11-04
  • 2021-06-29
  • 2021-08-04
  • 2022-01-21
  • 2021-07-05
  • 2021-10-10
  • 2022-12-23
  • 2022-01-10
猜你喜欢
  • 2021-07-14
  • 2021-12-17
  • 2021-08-13
  • 2021-07-05
  • 2022-01-30
相关资源
相似解决方案