Skip to content

Commit

Permalink
[Build] Android: Workaround for novotnyllc/MSBuildSdkExtras#174
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Aug 2, 2019
1 parent bfc47b2 commit a91440e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sources/core/Xenko.Core/Resources/Resource.Designer.cs

This file was deleted.

7 changes: 7 additions & 0 deletions sources/targets/Xenko.Core.PostSettings.targets
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@
<IntermediateOutputPath Condition="'$(XenkoProjectType)' == 'Cpp'">$(IntDir)</IntermediateOutputPath>
</PropertyGroup>

<!-- Workaround for https://github.com/onovotny/MSBuildSdkExtras/issues/174 -->
<Target Name="_XenkoRemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)"/>
</ItemGroup>
</Target>

<!-- User Documentation (.usrdoc) -->
<PropertyGroup Condition="'$(XenkoPublicApi)' == 'true'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down

0 comments on commit a91440e

Please sign in to comment.