从 package.nuspec 创建 NuGet 包后,名称为 .nupkg
After creation NuGet package from package.nuspec issue with name of .nupkg
NuGet 命令:
E:\plugins\nuget-agent\bin\JetBrains.TeamCity.NuGetRunner.exe
E:\tools\NuGet.CommandLine.DEFAULT\tools\NuGet.exe pack
E:\work1fd6e3e508cc03\ETL\FgCloudServiceHost\package.nuspec -OutputDirectory
E:\work1fd6e3e508cc03\ETL\FgCloudService\obj\octopacked -Version 17.02.18.1914-development -Properties Configuration=Release
我有
Successfully created package 'E:\work1fd6e3e508cc03\ETL\JmineopsCloudService\obj\octopacked\fg.17.2.18.1914-development.nupkg'.
请关注17.02.18.1914-.....
-Version 17.02.18.1914-development -Properties Configuration=Release
但在创建 17.2.18.1914-....
0 在哪里?
NuGet 使用的版本号遵循Semantic Versioning。 'SemVer' 规范包括以下内容:
A normal version number MUST take the form X.Y.Z where X, Y, and Z are
non-negative integers, and MUST NOT contain leading zeroes.
换句话说,版本号 17.02.18.1914-development
由 NuGet.exe 规范化为 17.2.18.1914-development
(去除前导零)。
路径中有 'octopacked'(来自 OctoPack),因此您可能有兴趣在 Octopus Deploy 支持系统中看到对 similar question 的回复。
NuGet 命令:
E:\plugins\nuget-agent\bin\JetBrains.TeamCity.NuGetRunner.exe
E:\tools\NuGet.CommandLine.DEFAULT\tools\NuGet.exe pack
E:\work1fd6e3e508cc03\ETL\FgCloudServiceHost\package.nuspec -OutputDirectory
E:\work1fd6e3e508cc03\ETL\FgCloudService\obj\octopacked -Version 17.02.18.1914-development -Properties Configuration=Release
我有
Successfully created package 'E:\work1fd6e3e508cc03\ETL\JmineopsCloudService\obj\octopacked\fg.17.2.18.1914-development.nupkg'.
请关注17.02.18.1914-..... -Version 17.02.18.1914-development -Properties Configuration=Release 但在创建 17.2.18.1914-.... 0 在哪里?
NuGet 使用的版本号遵循Semantic Versioning。 'SemVer' 规范包括以下内容:
A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes.
换句话说,版本号 17.02.18.1914-development
由 NuGet.exe 规范化为 17.2.18.1914-development
(去除前导零)。
路径中有 'octopacked'(来自 OctoPack),因此您可能有兴趣在 Octopus Deploy 支持系统中看到对 similar question 的回复。