Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Aug 18, 2019
1 parent fc8e845 commit 1220af4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/Plugin.InAppBilling/Plugin.InAppBilling.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="..\nuget\readme.txt" PackagePath="readme.txt" Pack="true" />
<None Include="..\..\nuget\readme.txt" PackagePath="readme.txt" Pack="true" />
<Compile Include="**\*.shared.cs" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>
Expand All @@ -64,10 +64,21 @@
<Compile Include="**\*.uwp.cs" />
</ItemGroup>

<Target Name="_RemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)" />
</ItemGroup>
</Target>

<PropertyGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) ">
<DesignTimeBuild>false</DesignTimeBuild>
</PropertyGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) ">
<Compile Include="**\*.android.cs" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="Plugin.CurrentActivity" Version="2.1.0.4" />
<PackageReference Include="Xamarin.Android.Support.Annotations" Version="28.0.0.1" />
<PackageReference Include="Xamarin.Android.Google.BillingClient" Version="2.0.0" />
</ItemGroup>

Expand Down

0 comments on commit 1220af4

Please sign in to comment.