AssemblyInformationalVersion and TfsVersion activity

May 13, 2013 at 3:22 PM
Hi Chaps

I can see options for FileVersion and Version, but not one for InformationalVersion. Do I need to patch this?

Cheers and best

Neil
Coordinator
May 14, 2013 at 6:58 AM
Hey Neil

Where are you looking? I see it in the code
    public InOutArgument<string> AssemblyInformationalVersion { get; set; }
Mike
May 14, 2013 at 8:44 AM
Hi Mike,

the wrong place I have no doubt. :-) (I'm new to build xaml).

I am looking at TfsVersion.cs (https://tfsbuildextensions.codeplex.com/SourceControl/latest#1606003)

and I can't see the public InOutArgument<string> AssemblyInformationalVersion you mention...

What I see in the VS xaml UI seems to correspond to:

public bool SetAssemblyFileVersion
public bool SetAssemblyVersion

public InOutArgument<string> Version

which I can see.

So, what I think I am after is:

public bool SetAssemblyInformationalVersion

Best regards

Neil
Coordinator
May 15, 2013 at 7:50 AM
Ah, I was looking in the wrong place. The activity doesn't support it at the moment. Feel free to submit a patch thanks Neil.

Mike
May 22, 2013 at 9:35 AM
Thanks Mike

I'm a bit lost with the unit tests. When I get my head around it, I'll submit it.

Thanks again

Neil
Coordinator
Mar 2, 2014 at 1:29 PM
Marked as answer by mikeFourie on 3/2/2014 at 6:29 AM