Published nuget package

First, nuget (www.nuget.org) registered account, where you can log in directly using a Microsoft account

After logging in select key in the upper right corner

in

 

在此页面创建key

 

复制页面生成的key,保存好
在vs中右键工程,属性,切换到打包页面

设置好后生成或者右键工程,打包

Then you can see the information generated in the output page

 

输入
dotnet nuget push <你的包路径> -k <你的key> -s <需要发布的包源地址>
发布完成

Guess you like

Origin www.cnblogs.com/ives/p/nuget.html