Skip to content

Commit

Permalink
Merge pull request #3940 from unoplatform/mergify/bp/release/stable/3…
Browse files Browse the repository at this point in the history
….0/pr-3926

Fix Intellisense does not report high number of errors in Xamarin.Android (bp #3926)
  • Loading branch information
jeromelaban authored Sep 3, 2020
2 parents 6e5a859 + c63168a commit 326fd1c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<Project Sdk="MSBuild.Sdk.Extras/2.0.54">
<!--
Adding project references to this project requires some manual adjustments.
Please see https://github.com/unoplatform/uno/issues/3909 for more details.
-->

<PropertyGroup>
<TargetFrameworks>uap10.0.16299;netstandard2.0;xamarinios10;xamarinmac20;MonoAndroid90;monoandroid10.0</TargetFrameworks>
Expand Down
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 326fd1c

Please sign in to comment.