I've set up TeamCity to notify the whole team when a new internal release is ready. The email contains links to server folders where the distributive has been placed. The link pattern is quite simple, the only thing that's 'dynamic' is the lowest-level folder - it's name matches the version number.
The folder is generated by MsBuild using TeamCity's "build.number" property. All is good with it, its name contains only what has been specified in the pattern (e.g. 1.0.0.0). But the strange thing is that {BUILD_NUMBER} in notifications template returns #1.0.0.0 (with the # sign).
So the email ends up with bad links. Has anyone noticed this? Is there a fix?