nuget - 摘要和描述的最大长度是多少?

标签 nuget nuget-package nuspec

此 Nuspec 引用解释了描述和摘要文本字段:https://docs.nuget.org/create/nuspec-reference

关于摘要,它说它是

A short description of the package. If specified, this shows up in the middle pane of the Add Package Dialog. If not specified, a truncated version of the description is used instead.



有谁知道摘要、描述的最大长度,以及如果不提供摘要,将使用描述中的多少个字符?

最佳答案

摘要或描述没有最大长度。如果不使用摘要,则使用所有描述。

但是,显示的内容取决于“管理包”对话框的大小、文本中使用的字符大小、是否选择了行以及是否显示“安装”按钮,以及您使用的是 Visual Studio 2015 还是旧版本。所以没有定义为最大长度的字符数。

关于nuget - 摘要和描述的最大长度是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33264005/

相关文章:

entity-framework - Entity Framework 5.0 RC - 包管理器命令 'add-migration' 因据称缺少配置类型而失败

asp.net-mvc-4 - 是否可以使用 NuGet 包升级到 MVC4?

nuget - 将nuget包的文件和文件夹放在根文件夹中

vb.net - 如何在 VSTS 构建期间生成 *.NUSPEC 文件?

c# - 无法加载System.Threading.Tasks.Extensions

c# - Teamcity 无法通过 nuget 安装软件包

Git 子模块与 Nuget 包

nuget-package - 如何在 asp.net 5 应用程序中添加项目引用

nuget - .nu​​spec中NuGet软件包的描述中的超链接

dependencies - 创建 NuGet 包时不包含 packages.config 文件中的依赖项