Problems with property set

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?

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.


Was this resolved? I 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.

Sorry ignore my last post. My fault…