Solution-wide pre-build event?

后端 未结 7 1396
北恋
北恋 2020-11-30 01:37

I have a solution in Visual Studio which contains several projects. I\'d like to run a command at the very beginning of every build - no matter which projects are involved a

7条回答
  •  没有蜡笔的小新
    2020-11-30 02:06

    We do this by adding an empty project and setting build events for this project. Then you have to give each project dependency to this empty project to make sure that it gets built everytime.

提交回复
热议问题