# Assemblyfileversion not updated when using AssemblyInfo Updater

**URL:** <https://www.finalbuilder.com/forums/t/assemblyfileversion-not-updated-when-using-assemblyinfo-updater/3371>\
**Category:** Bugs\
**Created:** [June 23, 2011, 9:18am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-not-updated-when-using-assemblyinfo-updater/3371 "2011-06-23T09:18:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)\
**Post date:** [June 23, 2011, 9:18am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-not-updated-when-using-assemblyinfo-updater/3371/1 "2011-06-23T09:18:40Z")

</div>

Hi

We use the&nbsp;AssemblyInfo Updater to update the AssemblyVersion with the new version attribute

We also checked to update the AssemblyFileVersion but it seems that is not working.

We see FB adds new lines to the cs file, but does not update the version (se below the lines)

We have deleted the region, gave the assemblyFileVersion the same version but after that only still the AssemblyVersion was updated.

&nbsp;

[assembly: AssemblyVersion("1.0.0.13")]

&nbsp;

#region Assembly Information Added By FinalBuilder

[assembly: AssemblyFileVersion("0.0.0.0")]

#endregion

&nbsp;

Peter

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [June 23, 2011, 12:58pm UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-not-updated-when-using-assemblyinfo-updater/3371/2 "2011-06-23T12:58:51Z")

</div>

Can you send us the assemblyinfo file and a sample finalbuilder project that shows the problem. I just did a quick test here and wasn’t able to reproduce the problem, so being able to see it happen in an example will help find the cause.

---

<div class="post-metadata">

**Author:** ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)\
**Post date:** [June 23, 2011, 1:39am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-not-updated-when-using-assemblyinfo-updater/3371/3 "2011-06-23T01:39:30Z")

</div>

&nbsp;Attached are the files we use.

We use a globalassemblyinfo file and we link to that in the different porjects in the solution.

If we remove the file version in the cs file it is added again by FB, but only with version 0.0.0.0

[GlobalAssemblyInfo.cs](https://www.finalbuilder.com/forums/uploads/default/original/2X/1/152feddd94e0ac8a11f3308800c29d9993c32709.cs) (361 B)[test.fbz7](https://www.finalbuilder.com/forums/uploads/default/original/2X/0/01d1114699eda31040dfca77ba7632ef11e946ad.fbz7) (6.923 KB)

---

<div class="post-metadata">

**Author:** ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)\
**Post date:** [June 24, 2011, 6:21am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-not-updated-when-using-assemblyinfo-updater/3371/4 "2011-06-24T06:21:13Z")

</div>

Hi Peter   
  
 We have fixed this issue in the following build:   
 [https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700\_1373.exe](https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_1373.exe)   
  
 Regards,   
 Steve

---

<div class="post-metadata">

**Author:** ![pvdveen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e480ec/32.png) [@pvdveen](https://www.finalbuilder.com/forums/u/pvdveen)\
**Post date:** [June 25, 2011, 8:31am UTC](https://www.finalbuilder.com/forums/t/assemblyfileversion-not-updated-when-using-assemblyinfo-updater/3371/5 "2011-06-25T08:31:39Z")

</div>

Thx for the quick response

&nbsp;Peter

&nbsp;
