What it is
Extension to replace content in files based on regex as a build step in VSTS Build or Release.
Inject version into AssemblyInfo.cs files:
using lookahead\lookbehind option (simpler, but can't use quantifiers in lookahead\lookbehind):
using groups (more powerful and precise, but more complex):
Inject version into Wix files:
- Visual Studio Team Services - tested
- Team Foundation Server - not tested
Extension is open source and free to use.
But it's provided as is, without any responsibility, and is not guaranteed to work.
Use at your own risk.
However if you find any issue, feel free to raise it here: