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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
0 deletions
-
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> |
|
|
|
|