Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
Project cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Aug 2, 2019
1 parent 0a99d96 commit 0084b60
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions src/Battery.Plugin/Battery.Plugin.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="MSBuild.Sdk.Extras/2.0.31">

<PropertyGroup>
<TargetFrameworks>netstandard1.0;netstandard2.0;MonoAndroid44;Xamarin.iOS10;tizen40;uap10.0.15063</TargetFrameworks>
<TargetFrameworks>netstandard1.0;netstandard2.0;MonoAndroid44;Xamarin.iOS10;tizen40;uap10.0.16299</TargetFrameworks>
<AssemblyName>Plugin.Battery</AssemblyName>
<RootNamespace>Plugin.Battery</RootNamespace>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
Expand All @@ -24,7 +24,7 @@

Ability to gather current battery level, charging status, and charging type.
</Description>
<Copyright>Copyright 2018</Copyright>
<Copyright>Copyright 2019</Copyright>
<RepositoryUrl>https://github.com/jamesmontemagno/BatteryPlugin</RepositoryUrl>
<PackageReleaseNotes>See: https://github.com/jamesmontemagno/BatteryPlugin </PackageReleaseNotes>

Expand All @@ -41,11 +41,20 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)'=='Release' ">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DebugType>pdbonly</DebugType>
<DebugType>portable</DebugType>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)'=='Release' And '$(OS)' == 'Windows_NT' ">
<!-- sourcelink: Declare that the Repository URL can be published to NuSpec -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- sourcelink: Embed source files that are not tracked by the source control manager to the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- sourcelink: Include PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup Condition=" '$(Configuration)'=='Release' And '$(OS)' == 'Windows_NT' ">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MSBuild.Sdk.Extras" Version="1.4.0" PrivateAssets="All" />
<Compile Include="**\*.shared.cs" />
</ItemGroup>

Expand All @@ -54,7 +63,7 @@
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('uap10.0')) ">
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="5.2.3" />
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.1.5" />
<Compile Include="**\*.uwp.cs" />
</ItemGroup>

Expand All @@ -66,12 +75,8 @@
<Compile Include="**\*.ios.cs" />
</ItemGroup>


<ItemGroup Condition=" $(TargetFramework.StartsWith('tizen')) ">
<Compile Include="**\*.tizen.cs" />
<PackageReference Include="Tizen.NET" Version="4.0.0" />
</ItemGroup>


<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
</Project>

0 comments on commit 0084b60

Please sign in to comment.