且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在.net核心项目中自动设置构建版本?

更新时间:2022-05-23 04:26:57

您可以进入应用程序"选项卡下的项目"属性,并使用可用的装配信息"按钮设置装配信息.这样可以设置标题/说明/版权声明/程序集版本和中性语言.但是最终它只是将值设置到Project.json文件

You can go into the Project properties under Application Tab and set the assembly information usig the available "Assembly Information" button. This allows the Title/description/Copyright notice/Assembly version and neutral language to be set. But ultimately it just sets the values into the Project.json file

"title": "project name",
"copyright": "company copyright",
"description": "project description",
"version": "1.0.0-*",