美文网首页netcore
nuget 与 nexus3.x

nuget 与 nexus3.x

作者: FLCode | 来源:发表于2019-04-16 10:50 被阅读0次

    上文已介绍过nexus3.x的安装,本文介绍nuget的使用

    1.设置项目生成nuget包

    2.上传

    nuget push {×××}.nupkg {NuGet API Key} -source http://{ip}:8081/repository/nuget-hosted/

    如果没装nuget,到官网下载一个,然后配置系统环境变量path

    apikey获取方式:

    3.获取nuget

    增加程序包源:

    然后就可以在vs的包管理器搜索自己的包了

    相关文章

      网友评论

        本文标题:nuget 与 nexus3.x

        本文链接:https://www.haomeiwen.com/subject/azmvwqtx.html