Question about TfsVersion activity

May 12, 2014 at 9:44 AM
I'm currently setting my application's file versions by specifying an expression in the "Version" property, with "SetAssemblyFileVersion" checked. I now need to set the assembly version so that I can display it from within my application (using "Assembly.GetExecutingAssembly().GetName().Version"). Do I just need to check "SetAssemblyVersion", or do I also need to set the "AssemblyVersion" property to the same value as the "Version" property?
May 12, 2014 at 10:09 AM
Never mind, I've tried it and it looks like I only need to check "SetAssemblyVersion".

I'm guessing that the "AssemblyVersion" property is there for you to set a different version number for the assembly version if necessary, but if omitted then the assembly version is populated using the "Version" property.
Marked as answer by andyste1 on 5/12/2014 at 3:09 AM