Dynamically display current year in assembly info

前端 未结 5 2114
轻奢々
轻奢々 2021-02-13 07:32

How to set current year in AssemblyInfo file?

I used

Instead of this:

 
         


        
5条回答
  •  眼角桃花
    2021-02-13 07:57

    You can use NANT/MSBuild tasks to modify the AssemblyInfo.cs file like we do to change the Version of each assembly for every build.

    For more information, visit http://msbuildtasks.tigris.org/

提交回复
热议问题