build-events

How to emulate /p msbuild parameter in Visual Studio build?

给你一囗甜甜゛ 提交于 2019-12-01 04:26:06
问题 That the logical follow-up for the my previous question: "How to check all projects in solution for some criteria?" I was given quite a good answer to use CustomAfterMicrosoftCommonTargets, CustomBeforeMicrosoftCommonTargets. They do work, so I decided not to stop in the middle. Issue is that I don't want machine-wide tasks. It's not a good idea neither for me (it will affect other builds. sure, this can be handled, but still), nor for my teammates (I don't want to let them put something in