adr*_*anm 13 nuget nuspec visual-studio-2013
该nuspec参考说,有关阅读发布标签
v1.5每个软件包版本中所做更改的说明.此字段仅在选择" 更新"选项卡时显示,并且包是对先前安装的包的更新.它显示在通常显示描述的位置.
我创建了两个nuspec文件,两个都包含(version当然有不同的标签)
<?xml version="1.0"?>
<package >
<metadata>
<id>TestReleaseNotes</id>
<version>1.0</version>
<authors>adrianm</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Description</description>
<releaseNotes>Release notes</releaseNotes>
</metadata>
<files>
<file src="Test.cs" target="content" />
</files>
</package>
Run Code Online (Sandbox Code Playgroud)
我在VS2013中安装了1.0并选择了更新选项卡但我看不到发行说明.

我错过了什么?
adr*_*anm 12
我自己发现了这个.
如果我从中打开"管理NuGet包"对话框,则会显示发行说明project.

但是当我打开它的时候不行solution.
对于我自己的包以及nuget.org,行为是相同的
小智 7
截至 2021 年 3 月,这似乎仍然是 Visual Studio 2019 中的一个问题。我们使用 Azure 在内部发布了许多 nuget 包。包发行说明显示在 Azure UI 中,但不显示在 Visual Studio 中。但是,“说明”确实显示在 Visual Studio 中,因此我调整了说明以包含发行说明。这实际上来自 Directory.build.props 文件,但同样可以嵌入到项目文件中:
<PackageReleaseNotes>
Release notes added to .nuspec file as <Release Notes> and also to end of Description
</PackageReleaseNotes>
<!-- Don't indent text, it makes it hard to read in the nuget package manager-->
<Description>
Description:
This is the description of our internally produced nuget package
Release Notes:$(PackageReleaseNotes)
</Description>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4132 次 |
| 最近记录: |