File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/Xamarin.Android.Build.Tasks Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
1111 <AndroidNETSdkVersion >@ANDROID_PACK_VERSION_LONG@</AndroidNETSdkVersion >
1212 <XamarinAndroidVersion >@ANDROID_PACK_VERSION_LONG@</XamarinAndroidVersion >
1313 <_AndroidLatestStableApiLevel >@ANDROID_LATEST_STABLE_API_LEVEL@</_AndroidLatestStableApiLevel >
14+ <_AndroidLatestUnstableApiLevel >@ANDROID_LATEST_UNSTABLE_API_LEVEL@</_AndroidLatestUnstableApiLevel >
1415 </PropertyGroup >
1516 <PropertyGroup >
1617 <_AndroidTargetingPackId Condition =" $(TargetPlatformVersion.EndsWith('.0'))" >$(TargetPlatformVersion.Substring(0, $(TargetPlatformVersion.LastIndexOf('.0'))))</_AndroidTargetingPackId >
1718 <_AndroidTargetingPackId Condition =" '$(_AndroidTargetingPackId)' == ''" >$(TargetPlatformVersion)</_AndroidTargetingPackId >
18- <!-- NOTE: adjust if a TargetFramework supports multiple API levels -->
19- <_AndroidErrorOnTargetPlatformVersion Condition =" '$(_AndroidTargetingPackId)' != '$(_AndroidLatestStableApiLevel)' " >$(_AndroidTargetingPackId)</_AndroidErrorOnTargetPlatformVersion >
20- <_AndroidTargetingPackId Condition =" '$(_AndroidTargetingPackId)' != '$(_AndroidLatestStableApiLevel)' " >$(_AndroidLatestStableApiLevel)</_AndroidTargetingPackId >
19+ <_AndroidErrorOnTargetPlatformVersion Condition =" '$(_AndroidTargetingPackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidTargetingPackId)' != '$(_AndroidLatestUnstableApiLevel)' " >$(_AndroidTargetingPackId)</_AndroidErrorOnTargetPlatformVersion >
20+ <_AndroidTargetingPackId Condition =" '$(_AndroidTargetingPackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidTargetingPackId)' != '$(_AndroidLatestUnstableApiLevel)' " >$(_AndroidLatestStableApiLevel)</_AndroidTargetingPackId >
2121 <_AndroidRuntimePackId Condition =" '$(_AndroidRuntimePackId)' == '' " >$(_AndroidTargetingPackId)</_AndroidRuntimePackId >
22- <_AndroidRuntimePackId Condition =" '$(_AndroidRuntimePackId)' != '$(_AndroidLatestStableApiLevel)' " >$(_AndroidLatestStableApiLevel)</_AndroidRuntimePackId >
22+ <_AndroidRuntimePackId Condition =" '$(_AndroidRuntimePackId)' != '$(_AndroidLatestStableApiLevel)' and '$(_AndroidRuntimePackId)' != '$(_AndroidLatestUnstableApiLevel)' " >$(_AndroidLatestStableApiLevel)</_AndroidRuntimePackId >
2323 </PropertyGroup >
2424 <ItemGroup >
2525 <KnownFrameworkReference
Original file line number Diff line number Diff line change 360360 <ReplaceFileContents
361361 SourceFile =" $(MSBuildThisFileDirectory)Microsoft.Android.Sdk\in\Microsoft.Android.Sdk.BundledVersions.in.targets"
362362 DestinationFile =" $(MSBuildThisFileDirectory)\Microsoft.Android.Sdk\targets\Microsoft.Android.Sdk.BundledVersions.targets"
363- Replacements =" @ANDROID_PACK_VERSION_LONG@=$(AndroidPackVersionLong);@ANDROID_LATEST_STABLE_API_LEVEL@=$(AndroidLatestStableApiLevel);@DOTNET_TARGET_FRAMEWORK@=$(DotNetTargetFramework)" >
363+ Replacements =" @ANDROID_PACK_VERSION_LONG@=$(AndroidPackVersionLong);@ANDROID_LATEST_STABLE_API_LEVEL@=$(AndroidLatestStableApiLevel);@ANDROID_LATEST_UNSTABLE_API_LEVEL@=$(AndroidLatestUnstableApiLevel);@ DOTNET_TARGET_FRAMEWORK@=$(DotNetTargetFramework)" >
364364 </ReplaceFileContents >
365365 </Target >
366366
You can’t perform that action at this time.
0 commit comments