-
-
Notifications
You must be signed in to change notification settings - Fork 307
/
Copy pathMediaManager.Forms.csproj
91 lines (77 loc) · 3.87 KB
/
MediaManager.Forms.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;xamarin.ios10;xamarin.mac20;xamarin.tvos10;monoandroid10.0;tizen40</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">uap10.0.18362;net472;netcoreapp3.1;$(TargetFrameworks)</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<AssemblyName>MediaManager.Forms</AssemblyName>
<RootNamespace>MediaManager.Forms</RootNamespace>
<PackageId>Plugin.MediaManager.Forms</PackageId>
<Description>Cross platform Xamarin plugin to play and control Audio and Video. This adds Xamarin.Forms specific features</Description>
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
<UseWPF Condition=" '$(OS)' == 'Windows_NT' ">true</UseWPF>
</PropertyGroup>
<Import Project="$(SolutionDir)netcore.targets" Condition=" $(TargetFramework.StartsWith('netcoreapp3.1'))" />
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2012" />
<Compile Remove="Platforms\**\*.cs" />
<None Include="Platforms\**\*.cs" />
<None Include="Resources\*.cs" />
<Compile Remove="Resources\*.cs" />
<None Include="readme.txt" pack="true" PackagePath="." />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) And '$(OS)' == 'Windows_NT'">
<Compile Include="Platforms\Net\**\*.cs" />
<Compile Include="Platforms\Wpf\**\*.cs" />
<PackageReference Include="Xamarin.Forms.Platform.WPF" Version="5.0.0.2012" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('netcoreapp3')) And '$(OS)' == 'Windows_NT'">
<Compile Include="Platforms\Net\**\*.cs" />
<Compile Include="Platforms\Wpf\**\*.cs" />
<PackageReference Include="Xamarin.Forms.Platform.WPF" Version="5.0.0.2012" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('uap')) And '$(OS)' == 'Windows_NT'">
<Compile Include="Platforms\Uap\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarin.ios')) ">
<None Remove="Platforms\Apple\**\*.cs" />
<None Remove="Platforms\Ios\**\*.cs" />
<Compile Include="Platforms\Apple\**\*.cs" />
<Compile Include="Platforms\Ios\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarin.mac')) ">
<None Remove="Platforms\Apple\**\*.cs" />
<None Remove="Platforms\Mac\**\*.cs" />
<Compile Include="Platforms\Apple\**\*.cs" />
<Compile Include="Platforms\Mac\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarin.tvos')) ">
<None Remove="Platforms\Apple\**\*.cs" />
<None Remove="Platforms\Tvos\**\*.cs" />
<Compile Include="Platforms\Apple\**\*.cs" />
<Compile Include="Platforms\Tvos\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarin.watchos')) ">
<None Remove="Platforms\Apple\**\*.cs" />
<None Remove="Platforms\Watchos\**\*.cs" />
<Compile Include="Platforms\Apple\**\*.cs" />
<Compile Include="Platforms\Watchos\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) ">
<None Remove="Platforms\Android\**\*.cs" />
<Compile Include="Platforms\Android\**\*.cs" />
<AndroidResource Include="Resources\**\*.xml" SubType="Designer" Generator="MSBuild:UpdateAndroidResources" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('tizen')) ">
<None Remove="Platforms\Tizen\**\*.cs" />
<Compile Include="Platforms\Tizen\**\*.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MediaManager\MediaManager.csproj" />
</ItemGroup>
<!-- There is something not working correctly w.r.t. multi-targetting so adding
direct reference seems to help get the build to work -->
<ItemGroup Condition=" $(TargetFramework.StartsWith('xamarin.mac')) ">
<Reference Include="netstandard" />
</ItemGroup>
</Project>