MSbuild for updating the assemblyinfo file

前端 未结 5 2058
礼貌的吻别
礼貌的吻别 2021-02-13 19:24

I am writing a batch file to automate a series of tasks. One of these tasks is to update the version of the dlls in my solution, by editing the assemblyinfo.cs file in the vario

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-13 20:03

    Use the WriteCodeFragment MSBuild Task. Refer to this answer for an example.

提交回复
热议问题