zoukankan      html  css  js  c++  java
  • Nuget的使用笔记-(使用nuget发布dll到www.nuget.org)

    Nuget是神马东东?

    来自nuget.org官方的介绍

    -------------------------------------------------------------------------------------

    What is NuGet?

    NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.

    今天的笔记是:

    把自己写好的nuget包发布到。nuget.org上。

    第一步:

      在注册一个nuget.org账号,并且登录nuget.org。当然,你也可以用MS账号授权登录。(如果已经有账号跳过这一步。https://www.nuget.org/packages/upload )

      

    登录nuget后,获取apikey,这个就是后面发布包到nuget的授权密钥(你可以这样理解),直接访问 https://www.nuget.org/account ,在下面的

    Credentials    API Key  

    第二步:

      首先安装 NuGet Package Explorer

         下载地址:(http://nuget.codeplex.com/releases/59864/clickOnce/NuGetPackageExplorer.application ),安装就可以了。安装完成后,在桌面上会有一个这样的图标

      

    第三步:

      准备dll文件的nuget上传包。

      打开Nuget Package Explorer,选择 Create a new package(Ctrl+N) 

      

      打开 nuget package explorer 后,看到如下界面。

      

      Package metadata      Package contents

          -------------------------------------------------------

      Id:识别码

      Version:版本号

      Dependencies:包依赖

      其它Key就省略......

      在左边 Package metadata 编辑好包配置后,将 dll 文件,拖拽到Package contents 中、

      

    第四步:

      发布包到nuget.org

      选择 File - > Publish 

      Publish Url : https://www.nuget.org

      Publish key: 第一步你获取到的api key 、

      

      

      发布成功后,在nuget.org,在 https://www.nuget.org/account/Packages 就能看到啦~,当然,前提是必须登录了 nuget.org

      

  • 相关阅读:
    数据预处理和特征工程
    批量梯度下降,随机梯度下降,小批量梯度下降
    动态规划和贪心算法的区别
    广告计价方式:CPM,CPC,CPA
    隐语义模型LFM
    windows下安装xgboost
    KMP算法
    sklearn中的SGDClassifier
    JS变量和数据类型
    JS的基本使用 使用外部的JS文件
  • 原文地址:https://www.cnblogs.com/oceanho/p/4527634.html
Copyright © 2011-2022 走看看