Browse Source

Merge pull request #2886 from AvaloniaUI/fix-android-build

Android build workaround
pull/2887/head
Nikita Tsukanov 7 years ago
committed by GitHub
parent
commit
b035b14da6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      build/AndroidWorkarounds.props

8
build/AndroidWorkarounds.props

@ -5,4 +5,12 @@
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.1" />
<PackageReference Include="System.Buffers" Version="4.5.0" />
</ItemGroup>
<Target Name="_RemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)"/>
</ItemGroup>
</Target>
<PropertyGroup>
<DesignTimeBuild>false</DesignTimeBuild>
</PropertyGroup>
</Project>

Loading…
Cancel
Save