Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Update tfms
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Sep 20, 2022
1 parent 5ba6134 commit decffa3
Showing 1 changed file with 47 additions and 9 deletions.
56 changes: 47 additions & 9 deletions src/Media.Plugin/Media.Plugin.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="MSBuild.Sdk.Extras/2.0.54">
<PropertyGroup>
<TargetFrameworks>netstandard1.0;netstandard2.0;MonoAndroid10.0;Xamarin.iOS10;uap10.0.19041;Tizen40</TargetFrameworks>
<AssemblyName>Plugin.Media</AssemblyName>
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;MonoAndroid12.0;Xamarin.iOS10;net6.0-android;net6.0-ios;net6.0-maccatalyst;tizen4.0;</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);uap10.0.19041;net6.0-windows10.0.19041;</TargetFrameworks>
<AssemblyName>Plugin.Media</AssemblyName>
<RootNamespace>Plugin.Media</RootNamespace>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
Expand All @@ -16,8 +17,8 @@
<Owners>JamesMontemagno</Owners>
<PackageProjectUrl>https://github.com/jamesmontemagno/MediaPlugin</PackageProjectUrl>
<Summary>Take or pick photos and videos from a cross platform API.</Summary>
<PackageTags>xamarin, pcl, xam.pcl, media, photo, video, plugin, plugin for xamarin, windows phone, winphone, wp8, winrt, android, xamarin.forms, ios</PackageTags>
<Title>Media Plugin for Xamarin and Windows</Title>
<PackageTags>xamarin, pcl, xam.pcl, dotnet maui, .net maui, .net 6, media, photo, video, plugin, plugin for xamarin, windows phone, winphone, wp8, winrt, android, xamarin.forms, ios</PackageTags>
<Title>Media Plugin for .NET 6, .NET MAUI, Xamarin, and Windows</Title>
<Description>
Take or pick photos and videos from a cross platform API.
</Description>
Expand All @@ -41,6 +42,10 @@
<DefineConstants>$(DefineConstants);UWP</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition=" $(TargetFramework.Contains('-windows')) ">
<DefineConstants>$(DefineConstants);UWP</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
<DebugSymbols>true</DebugSymbols>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
Expand All @@ -55,31 +60,64 @@
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup Condition=" '$(Configuration)'=='Release' ">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>

<!-- platform version number information -->
<PropertyGroup>
<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-ios'))">10.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-tvos'))">10.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-maccatalyst'))">13.1</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-macos'))">10.14</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-android'))">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-windows10'))">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$(TargetFramework.Contains('-windows10'))">10.0.17763.0</TargetPlatformMinVersion>
</PropertyGroup>


<ItemGroup>
<None Include="..\..\nuget\readme.txt" PackagePath="readme.txt" Pack="true" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.1" />
<Compile Include="**\Shared\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('uap10.0')) ">
<PackageReference Include="Xamarin.Essentials" Version="1.7.3" />
<Compile Include="**\UWP\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('-windows')) ">
<UsesMauiEssentials/>
<Compile Include="**\UWP\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('-android')) ">
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.8.0.1" />
<UsesMauiEssentials/>
<Compile Include="**\Android\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) ">
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.6.0.1" />
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.8.0.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.3" />
<Compile Include="**\Android\*.cs" />
</ItemGroup>


<ItemGroup Condition=" $(TargetFramework.StartsWith('Xamarin.iOS')) ">
<Compile Include="**\iOS\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.Contains('-ios')) ">
<Compile Include="**\iOS\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.Contains('-mac')) ">
<Compile Include="**\iOS\*.cs" />
</ItemGroup>

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

0 comments on commit decffa3

Please sign in to comment.