Nuget 是一种 Visual Studio 扩展工具,它可以简化在 Visual Studio 项目中添加、更新和删除库(部署为程序包)的操做。(官方地址)相信你们对这个应该仍是很熟悉的,没有序列化包你们第一时间就是搜索一个辅助包进行引用,你们有没有想过这些帮助包是哪里来的呢? (绝对不是天上掉下来的)shell
标记 | 源 |
---|---|
\(id\) | 程序集名称。 |
\(title\) | AssemblyTitleAttribute 中指定的程序集标题。 |
\(version\) | 程序集的 AssemblyVersionAttribute 中指定的程序集版本。 |
\(author\) | AssemblyCompanyAttribute 中指定的公司。 |
\(description\) | AssemblyDescriptionAttribute 中指定的描述。 |
nuget pack *.csproj nuget push *.nupkg