Skip to content

Commit

Permalink
Merge pull request #3926 from unoplatform/dev/jela/add-ref-library
Browse files Browse the repository at this point in the history
Fix Intellisense does not report high number of errors in Xamarin.Android
  • Loading branch information
jeromelaban authored Sep 2, 2020
2 parents bbe26b3 + 155d124 commit 168dcba
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 168dcba

Please sign in to comment.