FB 6 bug with assemblyinfo and fallbacks

I stumbled to a bug with FB6 (this project works in FB4, I run the FB4 project using FB6 server web interface).

The error I get is:

c:\Build\workdir\xxx_rel_workdir\LocalizationStrings\Properties\AssemblyInfo.cs(65,44): error CS1003: Syntax error, ']' expected

AssemblyInfo.cs File line 65:

[assembly: AssemblyFileVersion("2.1.267.0")UltimateResourceFallbackLocation.Satellite)]

And it should be:

[assembly: AssemblyFileVersion("2.1.267.0"), UltimateResourceFallbackLocation.Satellite)]

Its possible that this isn't final builder bug after all, but problem with the build computer. We had visual studio 2005 pro and visual studio 2008 pro side-by-side installed to the build computer, the solution is in vs2005 format. its possible that somehow side-by-side installation isn't working correctly (parts of vs2008 are called unintentaniolly, albeit whole solution is in vs2005 format).

 

We uninstalled vs2008 pro, and try now to see if things start work better.

I'll update the status of this, when we know more.

Hi Arsi,

If you’re using the AssemblyInfo Updater action and it’s producting the AssemblyInfo data shown above, then it’s probably a FinalBuilder bug (we use our own code to update AssemblyInfo files.)

If it’s something else, then it may be a VS 2005/2008 problem or a .NET Framework 2.0/ 2.0 SP1 problem, in which case good luck with it.

Regards,

Angus

Hi,

We don’t use Assemblyinfo updater action, but in Build VS solution action we have defined FB to update File and and assembly versions.

I have uninstalled vs2008, vs2005 and FB 6 and reinstalled vs2005 (we use FB4, but for testing I’ve started to use FB6), there are still some configuration to be done, will update this ticket when I know more.

Any update to this problem? I have the latest versions of the finalbuilder 6 (6.0.470) and server (2.0.255) in my build machine and can reproduce this problem if I run the build project using fb server web interface (which uses finalbuilder 6 internally) - if I do the build using finalbuilder 4, there is no such problems as stated above.

Hi Arsi,

Do you have the Assembly Version options turned on in the Build VS.NET Solution action? Is there any chance you could please email us the AssemblyInfo.cs file (And the AssemblyInfo.cs.bak file, if there is one) for the project which is failing? Please attach it to the thread, or send it to support at finalbuilder dot com if you’d rather not post it publicly.

Regards,

Angus

Hi,

In our Build VS.net action is set “Update Assembly info” and “Assembly version” and “File version” properties. values of those two different properties are taken from Final Builder variables.

Also “update Version information to the project” is set and certain property set is being used for version info.

In to log file we get this kind of errors:
c:\Build_C\workdir\xxx_workdir\LocalizationStrings\Properties\AssemblyInfo.cs(65,44): error CS1003: Syntax error, ‘]’ expected

Will try to later on post that file for you to study (will mail it to support).