it basically says that you should:
1st in the wixproj file add the following:
<Target Name="BeforeBuild">
<CreateProperty Condition="$(BuildNumber) != ''"
Value="BuildNumber=$(BuildNumber);$(DefineConstants)">
<Output TaskParameter="Value" PropertyName="DefineConstants" />
</CreateProperty>
<CreateProperty Condition="$(RevisionNumber) != ''"
Value="RevisionNumber =$(RevisionNumber);$(DefineConstants)">
<Output TaskParameter="Value" PropertyName="DefineConstants" />
</CreateProperty>
</Target>
2nd in your msbuild task do this:
<MSBuild Projects="YourWixProject.wixproj"
Properties="BuildNumber=$(VerBuildNumber);RevisionNumber=$(RevisionNumber)"
/>