# Problems with property set

**URL:** https://www.finalbuilder.com/forums/t/problems-with-property-set/983
**Category:** Discussion
**Created:** [September 26, 2008, 2:56am UTC](https://www.finalbuilder.com/forums/t/problems-with-property-set/983 "2008-09-26T02:56:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![abhinav.mathur](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@abhinav.mathur](https://www.finalbuilder.com/forums/u/abhinav.mathur)
#### Post date: [September 26, 2008, 2:56am UTC](https://www.finalbuilder.com/forums/t/problems-with-property-set/983/1 "2008-09-26T02:56:30Z")

</div>

I am using Final builder ver: 6.0

I am trying to include the incrementing of the Assembly version number for my Visual studio .net C# project. I perform the following steps

1. Define a .Net Assembly number property set  
2. Load the property set from AssemblyInfo  
 The log shows the correct assembly info is loaded into each of the fields of the property set. However any action performed after this sets the property set Major, Minor, Build and Revision info to all zeroes. (0.0.0.0)  
  
It seems like as if the information is being loaded correctly but is not being assigned correctly to the property set.

What am I doing wrong?

---

<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: [September 26, 2008, 8:49am UTC](https://www.finalbuilder.com/forums/t/problems-with-property-set/983/2 "2008-09-26T08:49:27Z")

</div>

Hi   
  
 I’m not able to reproduce this here using 6.2. Please contact support at finalbuilder and send your project file and we’ll take a look at it and see if we can figure out what is happening.

---

<div class="post-metadata">

### Author: ![doharaie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@doharaie](https://www.finalbuilder.com/forums/u/doharaie)
#### Post date: [May 21, 2009, 7:07am UTC](https://www.finalbuilder.com/forums/t/problems-with-property-set/983/3 "2009-05-21T07:07:47Z")

</div>

Was this resolved? I&nbsp;am having the exact same issue with version 6.3.0.1472. It seems to be picking up the AssemblyFileVersion but not AssemblyVersion.

This is our AsssemblyInfo.cs:

using System.Reflection;  
using System.Resources;  
using System.Runtime.InteropServices;  
  
[assembly:AssemblyCompany("xxx")]  
[assembly:AssemblyProduct("xxx")]  
[assembly:AssemblyCopyright("xx")]  
[assembly:AssemblyConfiguration("")]  
[assembly:NeutralResourcesLanguage("en-US")]  
[assembly:AssemblyTrademark("")]  
[assembly:AssemblyCulture("")]  
[assembly:AssemblyVersion("0.1.0.776")]  
[assembly:AssemblyFileVersion("0.1.0.776")]  
[assembly:ComVisible(false)]  
//[assembly:CLSCompliant(true)]  
[assembly:AssemblyDelaySign(false)]

And this is the output of the PropertySet load from AssemblyInfo action:

Scanning AssemblyInfo file C:\xxx\SharedAssemblyInfo.cs  
Assigning values to PropertySet AssemblyInfoVersionPropertySet  
Setting MajorVersion to "0"  
Setting MinorVersion to "0"  
Setting BuildVersion to "0"  
Setting RevisionVersion to "0"  
Setting FileMajorVersion to "0"  
Setting FileMinorVersion to "1"  
Setting FileBuildVersion to "0"  
Setting FileRevisionVersion to "776"

One thing though, the AssemblyInfo file above is shared across all projects (SharedAssemblyInfo.cs). Each project also has their own AssemblyInfo.cs that contains:

using System.Reflection;  
[assembly: AssemblyTitle("Comet.Client")]  
[assembly: AssemblyDescription("")]

Can't see how that could be the problem though...

Regards.

---

<div class="post-metadata">

### Author: ![doharaie](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/ac8455/32.png) [@doharaie](https://www.finalbuilder.com/forums/u/doharaie)
#### Post date: [May 21, 2009, 7:41am UTC](https://www.finalbuilder.com/forums/t/problems-with-property-set/983/4 "2009-05-21T07:41:35Z")

</div>

Sorry ignore my last post. My fault…
