zoukankan      html  css  js  c++  java
  • NuGet 使用笔记

    环境准备

    1. 下载nuget : https://www.nuget.org/downloads

    2. 设置到环境变量Path, 使生效:在Cmd打入: set path=abc  关闭Cmd (Cmd设置的Path只作用于临时)

    3. 获到nuget ApiKey , setapikey: 

    nuget setApiKey xxxxxxxxxxxxxxxx

    发布

    进入工程 csproj 文件夹:

    1. 编辑好项目信息(作者,版本号:1.0.*),编译生成项目

    2. nuget spec

    3. 编辑 项目名.nuspec , 添加   summary 一节, 这节内容是nuget 搜索的内容项。最重要。 

    4. 修改: licenseUrl, projectUrl ,iconUrl ,releaseNotes , tags 

    5. nuget pack 项目名.csproj, 生成 项目名.版本号.nupkg

    6.  nuget push 生成 项目名.版本号.nupkg  -Source nuget.org

  • 相关阅读:
    jQuery之选择器
    JAVA之网页截屏
    AJAX之JSON
    JSP之AJAX
    JSP之邮箱检验
    【16】LRUChache
    hashmap与currentHashMap
    Day1 工厂模式
    D0 设计模式
    【15】【有点特殊的dp】 剪绳子
  • 原文地址:https://www.cnblogs.com/newsea/p/6372263.html
Copyright © 2011-2022 走看看