xxxx.nuspec格式如下
<?xml version="1.0"?> <package > <metadata> <id>$id</id> <version>$version</version> <title>$title</title> <authors>$authors</authors> <owners>$owners</owners> <licenseUrl>$licenseUrl</licenseUrl> <projectUrl>$projectUrl</projectUrl> <iconUrl>$iconUrl</iconUrl> <requireLicenseAcceptance>$requireLicenseAcceptance</requireLicenseAcceptance> <description>$description</description> <releaseNotes>$releaseNotes</releaseNotes> <copyright>$copyright</copyright> <tags>$tags</tags> </metadata> <files> <file src="$PathOfDLL" target="CLRVersion" /> <file src="Bin\Release\xxxxx.dll" target="lib\net40" /> </files> </package>
1.修改version
2.添加DLL文件:新添加的引用,or Debug下没有的DLL,or release下没有添加的DLL
target为CLR的版本
时间: 2024-10-12 14:54:38