Skip to content

Commit

Permalink
fix: Add workaround for intellisense issues in the Android project
Browse files Browse the repository at this point in the history
(cherry picked from commit 155d124)
  • Loading branch information
jeromelaban authored and mergify-bot committed Sep 2, 2020
1 parent 0d72a7b commit c63168a
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,14 @@

<!-- This will force the generation of the APK when not building inside visual studio -->
<Target Name="GenerateBuild" DependsOnTargets="SignAndroidPackage" AfterTargets="Build" Condition="'$(BuildingInsideVisualStudio)'==''" />

<Target Name="Issue3897Workaround"
Condition=" '$(ManagedDesignTimeBuild)' == 'True' "
AfterTargets="_RemoveLegacyDesigner">
<!-- See https://github.com/unoplatform/uno/issues/3897 and https://github.com/xamarin/xamarin-android/issues/5069 for more details -->
<ItemGroup>
<Compile Remove="$(_AndroidResourceDesignerFile)"/>
</ItemGroup>
</Target>

</Project>

0 comments on commit c63168a

Please sign in to comment.