发布proget私库
1. 生成 .nupkg 文件
项目根目录运行
1 | nuget pack .\[library-project.csproj] -Build -Properties owners=ziggle;version="1.0.0" |
示例
2. push包到proget
1 | nuget push .\[library-project.1.0.0.nupkg] -source https://api.nuget.org/v3/index.json -apikey [your-secoret-key] |
3. netcore 使用步骤
3.1 pack & push
1 | { |