|
28 | 28 | <_MultiDexAarInAndroidSdk>extras\android\m2repository\com\android\support\multidex\1.0.1\multidex-1.0.1.aar</_MultiDexAarInAndroidSdk>
|
29 | 29 | <_SupportLicense Condition="Exists('$(_AndroidSdkLocation)\extras\android\m2repository\NOTICE.txt')">$(_AndroidSdkLocation)\extras\android\m2repository\NOTICE.txt</_SupportLicense>
|
30 | 30 | <_SupportLicense Condition="Exists('$(_AndroidSdkLocation)\extras\android\m2repository\m2repository\NOTICE.txt')">$(_AndroidSdkLocation)\extras\android\m2repository\m2repository\NOTICE.txt</_SupportLicense>
|
31 |
| - <_ILRepackEnabled Condition=" '$(_ILRepackEnabled)' == '' ">true</_ILRepackEnabled> |
32 | 31 | </PropertyGroup>
|
33 | 32 | <ItemGroup>
|
34 | 33 | <None
|
|
290 | 289 | <Exec Command="chmod +x @(_MonoScriptDestination->'%(Identity)', ' ')" />
|
291 | 290 | </Target>
|
292 | 291 |
|
293 |
| - <ItemGroup> |
294 |
| - <InputAssemblies Include="$(OutputPath)Newtonsoft.Json.dll" /> |
295 |
| - <InputAssemblies Include="$(OutputPath)System.Collections.Immutable.dll" /> |
296 |
| - <InputAssemblies Include="$(OutputPath)System.Reflection.Metadata.dll" /> |
297 |
| - </ItemGroup> |
298 |
| - |
299 |
| - <Target Name="ILRepacker" |
300 |
| - Condition=" '$(_ILRepackEnabled)' == 'true' " |
301 |
| - BeforeTargets="CopyFilesToOutputDirectory" |
302 |
| - Inputs="$(MSBuildAllProjects);@(IntermediateAssembly);@(InputAssemblies)" |
303 |
| - Outputs="$(IntermediateOutputPath)ILRepacker.stamp" > |
304 |
| - <ItemGroup> |
305 |
| - <_InputAssembliesThatExist Include="@(InputAssemblies)" Condition="Exists('%(Identity)')" /> |
306 |
| - <_NetstandardPath Include="@(ReferencePath->'%(RootDir)%(Directory)')" Condition="'%(FileName)%(Extension)' == 'netstandard.dll'" /> |
307 |
| - </ItemGroup> |
308 |
| - <PropertyGroup> |
309 |
| - <_NetstandardDir>@(_NetstandardPath)</_NetstandardDir> |
310 |
| - <_ILRepackArgs>/out:"$(MSBuildThisFileDirectory)$(IntermediateOutputPath)$(AssemblyName).dll" /internalize</_ILRepackArgs> |
311 |
| - <_ILRepackArgs>$(_ILRepackArgs) /keyfile:"$(XamarinAndroidSourcePath)product.snk"</_ILRepackArgs> |
312 |
| - <_ILRepackArgs>$(_ILRepackArgs) "$(MSBuildThisFileDirectory)$(IntermediateOutputPath)$(AssemblyName).dll"</_ILRepackArgs> |
313 |
| - <_ILRepackArgs>$(_ILRepackArgs) @(_InputAssembliesThatExist->'"%(Identity)"', ' ')</_ILRepackArgs> |
314 |
| - <_ILRepackArgs>$(_ILRepackArgs) /lib:"$(_NetstandardDir.TrimEnd('\'))"</_ILRepackArgs> <!-- Path to netstandard.dll --> |
315 |
| - </PropertyGroup> |
316 |
| - <Exec |
317 |
| - Command="$(ManagedRuntime) $(ManagedRuntimeArgs) "$(ILRepack)" $(_ILRepackArgs)" |
318 |
| - WorkingDirectory="$(OutputPath)" |
319 |
| - /> |
320 |
| - <Touch |
321 |
| - Files="$(IntermediateOutputPath)ILRepacker.stamp" |
322 |
| - AlwaysCreate="True" |
323 |
| - /> |
324 |
| - <ItemGroup> |
325 |
| - <FileWrites Include="$(IntermediateOutputPath)ILRepacker.stamp" /> |
326 |
| - </ItemGroup> |
327 |
| - </Target> |
328 |
| - |
329 | 292 | <ItemGroup>
|
330 | 293 | <_ExtraPackageSource Include="$(PkgXamarin_LibZipSharp)\lib\$(TargetFrameworkNETStandard)\libZipSharp.pdb" />
|
331 | 294 | <_ExtraPackageTarget Include="$(OutputPath)\libZipSharp.pdb" />
|
|
0 commit comments