# Bug in AssemblyInfo updater action

**URL:** https://www.finalbuilder.com/forums/t/bug-in-assemblyinfo-updater-action/5896
**Category:** Bugs
**Created:** [March 18, 2014, 2:15am UTC](https://www.finalbuilder.com/forums/t/bug-in-assemblyinfo-updater-action/5896 "2014-03-18T02:15:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![catenalogic](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/catenalogic/32/116_2.png) [@catenalogic](https://www.finalbuilder.com/forums/u/catenalogic)
#### Post date: [March 18, 2014, 2:15am UTC](https://www.finalbuilder.com/forums/t/bug-in-assemblyinfo-updater-action/5896/1 "2014-03-18T02:15:47Z")

</div>

**Source file**  
SolutionAssemblyInfo.cs  
  
**Properties to update**  
AssemblyVersion:%Version%  
AssemblyInformationalVersion:%DisplayVersion%  
  
Log says:  
  
Updated property ‘AssemblyVersion’ to ‘“1.0.1403.1823”’ in file ‘SolutionAssemblyInfo.cs’&nbsp;  
Inserted property ‘AssemblyInformationalVersion’ with value ‘1.0.1403.1823’ into file 'SolutionAssemblyInfo.cs’  
  
The inserted property gives a compilation error:  
  
**SolutionAssemblyInfo.cs(34,44,34,49): error CS1026: ) expected**

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [March 20, 2014, 1:16am UTC](https://www.finalbuilder.com/forums/t/bug-in-assemblyinfo-updater-action/5896/2 "2014-03-20T01:16:35Z")

</div>

Hi Geert,  
  
Continua doesn’t know any specifics about the attributes you are adding. Some attributes such as ComVisible for example must not have quotes, so you have to manually specify the quotes where required. e.g.

`AssemblyVersion: "%Version%"`

`AssemblyInformationalVersion: "%DisplayVersion%"`

  
If you are updating an existing value, then Continua&nbsp;will look to see if the existing value is quoted and preserve the quotes.&nbsp;&nbsp;This is why&nbsp;AssemblyVersion property gets quotes added but not the&nbsp;AssemblyInformationalVersion in this case.

---

<div class="post-metadata">

### Author: ![catenalogic](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/catenalogic/32/116_2.png) [@catenalogic](https://www.finalbuilder.com/forums/u/catenalogic)
#### Post date: [March 21, 2014, 2:29am UTC](https://www.finalbuilder.com/forums/t/bug-in-assemblyinfo-updater-action/5896/3 "2014-03-21T02:29:28Z")

</div>

Ah, that explains. Thanks for the info.
