How to programmatically change a project's product version?

后端 未结 11 1298
佛祖请我去吃肉
佛祖请我去吃肉 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:29

    I had the same problem, and I found out that modifying the .vdproj file in a prebuildevent does not exactly do what I like.

    I used some other code to modify the msi file file after the the setup project has been build, so I use the postbuildevent.

    See my blog-post here.

提交回复
热议问题