-
-
Notifications
You must be signed in to change notification settings - Fork 260
/
LibVLCSharp.Uno.csproj
64 lines (63 loc) · 3.16 KB
/
LibVLCSharp.Uno.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
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<Title>LibVLCSharp.Uno</Title>
<Summary>Uno integration for LibVLCSharp</Summary>
<TargetFrameworks>xamarin.ios10;monoandroid81</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);uap10.0.18362</TargetFrameworks>
<GenerateLibraryLayout>true</GenerateLibraryLayout>
<Description>LibVLCSharp.Uno is the integration of LibVLCSharp with the Uno Platform on Windows, iOS and Android.
It also contains a VLC MediaPlayerElement for the Uno Platform (UWP, Android, iOS)</Description>
<PackageTags>$(PackageTags);uno</PackageTags>
<RootNamespace>LibVLCSharp.Uno</RootNamespace>
<PackageId>LibVLCSharp.Uno</PackageId>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.StartsWith('uap'))">
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
</PropertyGroup>
<ItemGroup>
<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
<PRIResource Include="Strings\**\*.resw" />
<Compile Update="**\*.xaml.cs">
<DependentUpon>%(Filename)</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<UpToDateCheckInput Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LibVLCSharp\LibVLCSharp.csproj" />
<Compile Remove="**\*.UWP.cs" />
<Compile Remove="**\*.Android.cs" />
<Compile Remove="**\*.iOS.cs" />
<None Include="**\*.UWP.cs" />
<None Include="**\*.Android.cs" />
<None Include="**\*.iOS.cs" />
<Page Remove="**\*.UWP.xaml" />
<Page Remove="**\*.Android.xaml" />
<Page Remove="**\*.iOS.xaml" />
<None Include="**\*.UWP.xaml" />
<None Include="**\*.Android.xaml" />
<None Include="**\*.iOS.xaml" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('ios')) or $(TargetFramework.Contains('android'))">
<PackageReference Include="Uno.UI" Version="2.0.527" />
<PackageReference Include="Uno.SourceGenerationTasks" Version="4.1.0" /> <!-- TODO: Work around broken VS tooling. To remove when switching to Uno 3 -->
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('uap'))">
<Compile Include="**\*.UWP.*cs" />
<Page Include="**\*.UWP.*xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('android'))">
<ProjectReference Include="..\LibVLCSharp.Android.AWindow\LibVLCSharp.Android.AWindow.csproj" PrivateAssets="All" />
<Compile Include="**\*.Android.*cs" />
<Page Include="**\*.Android.*xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.Contains('ios'))">
<Compile Include="**\*.iOS.*cs" />
<Page Include="**\*.iOS.*xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
</ItemGroup>
<Target Name="_BeforeGenerateProjectPriFileCore" BeforeTargets="_GenerateProjectPriFileCore" Condition=" '$(Configuration)'=='Release' ">
<Copy SourceFiles="$(ProjectDir)\filtered.layout.resfiles" DestinationFolder="$(BaseIntermediateOutputPath)\$(Configuration)\$(TargetFramework)" />
</Target>
</Project>