Solution-wide pre-build event?

后端 未结 7 1394
北恋
北恋 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

    It's been a while, and some things in .Net infrastructure changed since, giving new options. Now my choice for solving this king of problem are nuget packages. I put my build steps into package which then included into every single project. Helpfully, Visual Studio package manager gives overview of packages on solution level, so it's pretty easy to check this rule.

提交回复
热议问题