Dynamically display current year in assembly info

前端 未结 5 874
天命终不由人
天命终不由人 2021-02-13 07:05

How to set current year in AssemblyInfo file?

I used

Instead of this:

 
         


        
5条回答
  •  甜味超标
    2021-02-13 08:04

    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/

提交回复
热议问题