First, thanks for the awesome work.
Now for the problem: I'm using TfsVersion from the Extension Pack and I'm experiencing a quirk. In Win7 and XP Pro the file version appears to be using elapsed time for the build number even though I scripted it to Date. However the Product Version is set
to the right thing.
Here's the interesting part, in Win XP Pro you select a File Version property in the Other version information list it shows the right thing. Windows 7 doesn't expose this 'second' File Version.
Currently the File Version shows 1.0.25577.x, x being the increment. The Product Version is 1.0.091113.x which is exactly what I want. BTW the task is definitely doing something to the File Version, otherwise it would be 184.108.40.206.
Do you have any idea what I'm doing wrong?
Here is the script I've come up with:
<Target Name = "BuildNumberOverrideTarget" Condition="'$(IsDesktopBuild)'!='true'">
<Message Text="Generating version."/>
<Output TaskParameter="Version" PropertyName="NewVersion" />
<Target Name="AfterGet" Condition="'$(IsDesktopBuild)'!='true'">
Thanks in advance.