Skip to content

Commit 76ae227

Browse files
committed
[Xamarin.Android.Build.Tasks] Make use of the ProductVersion information in the Common.props
At [1] we already attempt to replace the Product and Version information in the Xamarin.Android.Common.props.in file. However the props.in file did not have the appropriate text to replace in it. This commit fixes that issue so we get the correct information. [1] https://github.com/xamarin/xamarin-android/blob/master/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.targets#L129
1 parent aeee73b commit 76ae227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.props.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
3-
<XamarinAndroidVersion>Unknown</XamarinAndroidVersion>
3+
<XamarinAndroidVersion>@PACKAGE_VERSION@-@PACKAGE_VERSION_BUILD@</XamarinAndroidVersion>
44
<_JavaInteropReferences>Java.Interop;System.Runtime</_JavaInteropReferences>
55
<DependsOnSystemRuntime Condition=" '$(DependsOnSystemRuntime)' == '' ">true</DependsOnSystemRuntime>
66
<CopyNuGetImplementations Condition=" '$(CopyNuGetImplementations)' == ''">true</CopyNuGetImplementations>

0 commit comments

Comments
 (0)