# .NET Assembly Numbers PropertySet does not set RevisionVersion

**URL:** https://www.finalbuilder.com/forums/t/net-assembly-numbers-propertyset-does-not-set-revisionversion/3430
**Category:** Bugs
**Created:** [March 28, 2012, 1:04am UTC](https://www.finalbuilder.com/forums/t/net-assembly-numbers-propertyset-does-not-set-revisionversion/3430 "2012-03-28T01:04:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mozenda](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/mozenda/32/92_2.png) [@mozenda](https://www.finalbuilder.com/forums/u/mozenda)
#### Post date: [March 28, 2012, 1:04am UTC](https://www.finalbuilder.com/forums/t/net-assembly-numbers-propertyset-does-not-set-revisionversion/3430/1 "2012-03-28T01:04:09Z")

</div>

I have the following three actions:   
  
 - PropertySet define [Version.PropertySet]   
 - PropertySet assigned properties [Version.PropertySet]   
 - Update the ClientInstaller AssemblyInfo   
  
 Here is the resulting log, which should provide all of the details. Notice that a version revision number is assigned to the PropertySet, but then the Update action does not actually use it when updating the AssemblyInfo.   
  
 We have the same problem when performing a Visual Studio Build action. The AssemblyInfo files are not properly updated and so the resulting executables don’t have the revision version.   
  
 -------   
  
 PropertySet assign properties [Version.PropertySet]   
 Status: Completed   
 Date: 3/27/2012   
 Time: 16:45:06:673   
 End: 16:45:06:674   
 Duration: 00:00:00:001   
  
 Action Messages:   
 Setting 8 property values on PropertySet Version.PropertySet   
 Property BuildVersion set to 105   
 Property FileBuildVersion set to 105   
 Property FileMajorVersion set to 2   
 Property FileMinorVersion set to 5   
 Property FileRevisionVersion set to 9544   
 Property MajorVersion set to 2   
 Property MinorVersion set to 5   
 Property RevisionVersion set to 9544   
 Update the ClientInstaller AssemblyInfo   
 Status: Completed   
 Date: 3/27/2012   
 Time: 16:45:06:674   
 End: 16:45:06:685   
 Duration: 00:00:00:011   
  
 Action Messages:   
 Processing File : C:\Development\ClientInstaller.Library\Properties\AssemblyInfo.cs   
 Updating AssemblyVersion from Property Set “Version.PropertySet”   
 Updating AssemblyFileVersion from Property Set “Version.PropertySet”   
 Processing AssemblyInfo File : C:\Development\ClientInstaller.Library\Properties\AssemblyInfo.cs   
 Backing up AssemblyInfo File : C:\Development\ClientInstaller.Library\Properties\AssemblyInfo.cs to :C:\Development\ClientInstaller.Library\Properties\AssemblyInfo.cs.bak   
 Setting Attribute : [assembly: AssemblyVersion(“2.5.105.0”)]   
 Setting Attribute : [assembly: AssemblyFileVersion(“2.5.105.0”)]

---

<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: [March 28, 2012, 9:04am UTC](https://www.finalbuilder.com/forums/t/net-assembly-numbers-propertyset-does-not-set-revisionversion/3430/2 "2012-03-28T09:04:45Z")

</div>

Please send your FinalBuilder project file to [support@finalbuilder.com](mailto:support@finalbuilder.com) so we can take a look.

---

<div class="post-metadata">

### Author: ![mozenda](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/mozenda/32/92_2.png) [@mozenda](https://www.finalbuilder.com/forums/u/mozenda)
#### Post date: [March 28, 2012, 5:31am UTC](https://www.finalbuilder.com/forums/t/net-assembly-numbers-propertyset-does-not-set-revisionversion/3430/3 "2012-03-28T05:31:41Z")

</div>

Do you really need it? It has sensitive information in it. And the log information I shared with you illustrates the problem (you should be able to create a small project that reproduces it).   
  
 -Corey

---

<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: [March 28, 2012, 11:29am UTC](https://www.finalbuilder.com/forums/t/net-assembly-numbers-propertyset-does-not-set-revisionversion/3430/4 "2012-03-28T11:29:31Z")

</div>

I’m not able to reproduce it here using the current release build. I could not find any changes since 7.0.0.1553 so I would really need to see what you are doing. There are so many different ways that things can be done in FinalBuilder that it’s not always simple to reproduce just by looking at the log. All I need are the 3 actions and the AssemblyInfo.cs - that should be enough.
