File Content Replacer doesn't replace AssemblyVersion and AssemblyFileVersion

I'm trying to add the build number to my AssemblyVersion as described in https://confluence.jetbrains.com/display/TCD10/File+Content+Replacer#FileContentReplacer-Changingonlythelastversionpart/buildnumberoftheAssemblyVersionattribute:  but it doesn't have any effect to my assembly.

I tried the Template to replace the copyright and set Replace with to
$1%build.number% © MyCompany$7

That works as expected and sets the copyright to something like "50 © MyCompany".
I already tried the Version from here: https://youtrack.jetbrains.com/issue/TW-49665#comment=27-2105316 

The AssemblyInfo Patcher does replace the Version, But it sets it to something like "50.0.0.0" which I don't want.

How can I fix this problem?

1
1 comment

Hi Andreas,

could you show exactly what are you typing into the fields (a screenshot maybe?), and what is the exact expected output you would need?

0

Please sign in to leave a comment.