Skip to content

Commit 275241b

Browse files
committed
MSBuild updates + cleanup
1 parent db53272 commit 275241b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.AssemblyStores.targets

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,17 @@
2121
DependsOnTargets="_PrepareCreateEmbeddedAssemblyStoreOutputItems"
2222
Inputs="@(_CreateEmbeddedAssemblyStoreAssembly)"
2323
Outputs="@(_EmbeddedAssemblyStoreSourceFiles)">
24+
<PropertyGroup>
25+
<_EmbedAssemblyStoreInRuntime Condition=" '$(_AndroidUseAssemblyStore)' And '$(_AndroidEmbedAssemblyStoreInRuntime)' ">true</_EmbedAssemblyStoreInRuntime>
26+
<_EmbedAssemblyStoreInRuntime Condition=" '$(_EmbedAssemblyStoreInRuntime)' != 'true' ">false</_EmbedAssemblyStoreInRuntime>
27+
</PropertyGroup>
28+
2429
<CreateEmbeddedAssemblyStore
2530
AndroidBinUtilsDirectory="$(AndroidBinUtilsDirectory)"
2631
AppSharedLibrariesDir="$(_AndroidApplicationSharedLibraryPath)"
2732
AssemblySourcesDir="$(IntermediateOutputPath)android"
28-
AssemblyStoreEmbeddedInRuntime="$(_AndroidEmbedAssemblyStoreInRuntime)"
29-
CompressedAssembliesDir="$(_AndroidCompressedAssembliesDir)\test\"
30-
Debug="$(AndroidIncludeDebugSymbols)"
31-
EnableCompression="$(AndroidEnableAssemblyCompression)"
32-
ProjectFullPath="$(MSBuildProjectFullPath)"
33+
AssemblyStoreEmbeddedInRuntime="$(_EmbedAssemblyStoreInRuntime)"
34+
IncludeDebugSymbols="$(AndroidIncludeDebugSymbols)"
3335
ResolvedUserAssemblies="@(_ShrunkUserAssemblies);@(_AndroidResolvedSatellitePaths)"
3436
ResolvedFrameworkAssemblies="@(_ShrunkFrameworkAssemblies)"
3537
SupportedAbis="@(_BuildTargetAbis)" />

0 commit comments

Comments
 (0)