How to programmatically change a project's product version?

后端 未结 11 1334
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-09 12:02

I have several deployment projects. In order to deploy an application, I need to do several tasks, one of them is to change each deployment project\'s product version and pr

11条回答
  •  一向
    一向 (楼主)
    2020-12-09 12:41

    We use a program that updates each AssemblyInfo.cs or AssemblyInfo.vb based on a configuration file value. we run this executable before each build. That was the best we could do to automate this process. You can add a call to this batch process in your projects configuration as a pre build step.

提交回复
热议问题