Nuget 打包 for .Net Standart project
Create .NET Standard packages with Visual Studio 2015
nuge.exe 放在项目目录中
nuget spec
nuget pack ********.nuspec
nuget setApiKey SuperCody -Source http://*******/nuget
nuget push ******.1.0.1.nupkg -Source http://******/nuget
nuspec修改示例:
<?xml version="1.0"?>
<package >
<metadata>
<id>******.</id>
<version>1.0.1</version>
<title>******</title>
<authors>******</authors>
<owners>******</owners>
<licenseUrl>******</licenseUrl>
<projectUrl>******</projectUrl>
<iconUrl>******</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>interface and Model</description>
<releaseNotes>Provide support forinterface and Model</releaseNotes>
<copyright>Copyright (C) ,2018</copyright>
<tags>Interface Model</tags>
<dependencies>
<group targetFramework=".NETStandard2.0">
<dependency id="System.ComponentModel" version="4.3.0" exclude="Build,Analyzers" />
<dependency id="System.ComponentModel.Annotations" version="4.4.1" exclude="Build,Analyzers" />
<dependency id="WestWin.Util.Repository.Base" version="2.0.0" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
<files>
<file src="bin\Release\netstandard2.0\******.deps.json" target="lib\netstandard2.0\*******.deps.json" />
<file src="bin\Release\netstandard2.0\******.dll" target="lib\netstandard2.0\******.dll" />
<file src="bin\Release\netstandard2.0\******.pdb" target="lib\netstandard2.0\******.pdb" />
<file src="bin\Release\netstandard2.0\******.dll" target="lib\netstandard2.0\******.dll" />
<file src="bin\Release\netstandard2.0******.pdb" target="lib\netstandard2.0\******.pdb" />
</files>
</package>
Nuget 打包 for .Net Standart project的更多相关文章
- 使用 Nuget打包类库
使用 Nuget打包类库 NuGet是个开源项目,项目包括 NuGet VS插件/NuGet Explorer/NuGetServer/NuGet命令行等项目,.NET Core项目完全使用Nuget ...
- 利用Nuget打包添加tools下intsall.ps1【powershell脚本】修改.csproj文件
利用Nuget打包添加tools下intsall.ps1[powershell脚本]修改.csproj文件, 以设置1.项目-生成->输出->选择[XML文件文件] 2.项目->调试 ...
- Nuget~打包时添加powershell初始化脚本
对于进行nuget打包时,有时我们需要添加一个配置文件,就是一些文本文件,而这些文件我们在网站发布时需要同时复制到输出目录,否则会出现文件丢失的问题,我们在打包时通过添加powershell脚本来解决 ...
- 使用NuGet打包并发布至ProGet过程 (打包再次详解)【下篇】
一.前言 上篇[1]主要介绍了利用csproj文件使用NuGet打包至ProGet的过程,并附上了用于在Jenkins上运行的python脚本.本篇的主要内容分为以下几点: 1. Nuspec与Nup ...
- 【NuGet】使用NuGet打包并发布至ProGet过程 (打包再次详解)【下篇】
一.前言 上篇[1]主要介绍了利用csproj文件使用NuGet打包至ProGet的过程,并附上了用于在Jenkins上运行的python脚本.本篇的主要内容分为以下几点: 1. Nuspec与Nup ...
- .NET Core 系列5 :使用 Nuget打包类库
NuGet是个开源项目,项目包括 NuGet VS插件/NuGet Explorer/NuGetServer/NuGet命令行等项目,.NET Core项目完全使用Nuget 管理组件之间的依赖关系, ...
- 使用nuget打包类库并发布
前言 NuGet 是免费.开源的包管理开发工具,专注于在 .NET 应用开发过程中,简单地合并第三方的组件库.今天的目的就是记录一下如何打包一个类库,并发布到官网.在开始之前需要在www.nuget. ...
- .NET Core 控制台项目中的Nuget打包类库及引用
由于使用的是MAC版本的VSCode,所以全部是通过dotnet命令来完成的. 1.dotnet new lib 创建类库项目: 2.编辑项目根目录下的.csproj文件,添加版本号(建议): < ...
- 使用vs进行Nuget打包时的LicenseExpression填写示例参考
新版的nuget包 PackageLicense 这样写 最近编译类库项目的时候发现总是有个 licenseUrl 的警告,警告信息如下: warning NU5125: The 'licenseUr ...
随机推荐
- Java -cp 命令查看 zookeeper 日志
- flask模板结构组织(局部模板、宏、模板继承)
模板结构组织 除了使用函数.过滤器等工具控制模板的输出外,jinja2还提供了一些工具来在宏观上组织模板内容. 局部模板 在Web程序中,我们通常会为每一类页面编写一个独立的模板.比如主页模板.用户资 ...
- c# 共享事件处理程序
使用同一个方法来处理多个Button实例的Click事件. 1.全选所有的Button,在事件添加中的Click点击事件中添加处理函数. 2.假如一个label控件用于显示按钮按下输出文本 3.处理函 ...
- centos-ftp搭建
参照https://blog.csdn.net/a735834365/article/details/80622105 https://blog.csdn.net/a735834365/article ...
- SQL表分区之一
一般情况下,我们建立数据库表时,表数据都存放在一个文件里. 但是如果是分区表的话,表数据就会按照你指定的规则分放到不同的文件里,把一个大的数据文件拆分为多个小文件,还可以把这些小文件放在不同的磁盘下由 ...
- VisualSVN Server 服务器搭建 和 TortoiseSVN的配置和使用方法
摘自:https://blog.csdn.net/litaoshoujiao/article/details/8526136 一.VisualSVN Server的配置和使用方法[服务器端] 安装好V ...
- plsql登录报错身份证明检索失败
找到sqlnet.ora文件 在Oracle安装目录下 \product\12.2.0\dbhome_1\network\admin 把 SQLNET.AUTHENTICATION_S ...
- spring总结之三(依赖注入)
DI(重要):依赖注入(Dependency Injection).一般情况下,一个类不可能独立完成一个复杂的业务,需要多个类合作共同完成,需要在类中调用其它类的方法,就要给对象赋值,程序在执行过程中 ...
- P2709 小B的询问(莫队)
P2709 小B的询问 莫队模板 资磁离线询问 维护两个跳来跳去的指针 先分块,蓝后询问按块排序. 蓝后每次指针左右横跳更新答案 #include<iostream> #include&l ...
- node.js 初学(一)—— http fs 服务器/文件/post get
node.js 初学 —— http fs 服务器/文件/post get 这个世界,从来不会给失败者颁奖! 了解 node.js (开源) node.js 是用来做后台开发的,但是现在大部分前端人员 ...