打包dll发布到nuget服务器

https://www.cnblogs.com/bluesummer/p/9047132.html

<?xml version="1.0"?>
<package >
  <metadata>
    <id>$id$</id>
    <version>$version$</version>
    <title>$title$</title>
    <authors>leishen</authors>
    <owners>$author$</owners>   
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>Jst 网关客户端及consul支持</description>
    <releaseNotes></releaseNotes>
    <copyright>Copyright 2019</copyright>
    <tags></tags>	
  </metadata>
  <files>
		<!-- 当 Package 包含多个依赖项目时,在此添加内部的依赖项目 -->
		<file src="binDebugJst.GateWay.Common.dll" target="lib/net48" />
	</files>
</package>

  

重新安装和更新所有的 nuget包
重新安装指定项目中所有的 nuget 包

Update-Package -ProjectName MyProject –reinstall
更新指定项目中所有的 nuget 包

Update-Package -ProjectName MyProject
 

更多:https://docs.microsoft.com/zh-cn/nuget/consume-packages/reinstalling-and-updating-packages

  

原文地址:https://www.cnblogs.com/xinzhyu/p/11819883.html