-
Notifications
You must be signed in to change notification settings - Fork 690
/
SamplesApp.Skia.Gtk.csproj
61 lines (49 loc) · 2.51 KB
/
SamplesApp.Skia.Gtk.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetSkiaPreviousAndCurrent)</TargetFrameworks>
<RollForward>Major</RollForward>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<Import Project="../../targetframework-override.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- Required in CI to avoid dependency issues -->
<PreBuildUnoUITasks>true</PreBuildUnoUITasks>
</PropertyGroup>
<PropertyGroup>
<!-- Workaround for https://github.com/unoplatform/uno/discussions/5007 -->
<SynthesizeLinkMetadata>true</SynthesizeLinkMetadata>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SkiaSharp" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux" />
<PackageReference Include="GtkSharp" />
<Manifest Remove="app.manifest" />
<Manifest Include="$(ApplicationManifest)" />
<PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.20" />
<PackageReference Include="VideoLAN.LibVLC.Mac" Version="3.1.3.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\SourceGenerators\System.Xaml\Uno.Xaml.csproj" />
<ProjectReference Include="..\..\Uno.Foundation\Uno.Foundation.Skia.csproj" />
<ProjectReference Include="..\..\Uno.UI.Runtime.Skia.Gtk\Uno.UI.Runtime.Skia.Gtk.csproj" />
<ProjectReference Include="..\..\AddIns\Uno.UI.MediaPlayer.Skia.Gtk\Uno.UI.MediaPlayer.Skia.Gtk.csproj" />
<ProjectReference Include="..\..\Uno.UI\Uno.UI.Skia.csproj" />
<ProjectReference Include="..\..\Uno.UWP\Uno.Skia.csproj" />
<ProjectReference Include="..\SamplesApp.Skia\SamplesApp.Skia.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="Program.cs" />
</ItemGroup>
<PropertyGroup>
<UnoUIMSBuildTasksPath>$(MSBuildThisFileDirectory)..\..\SourceGenerators\Uno.UI.Tasks\bin\$(Configuration)_Shadow</UnoUIMSBuildTasksPath>
</PropertyGroup>
<Import Project="..\..\SourceGenerators\Uno.UI.Tasks\Content\Uno.UI.Tasks.targets" Condition="'$(SkipUnoResourceGeneration)' == '' " />
<Import Project="..\..\..\build\nuget\*.Skia.Gtk.props" />
<Import Project="..\..\..\build\nuget\*.Skia.Gtk.targets" />
<Import Project="..\..\..\build\nuget\uno.winui.runtime-replace.targets" />
<Target Name="ValidateTransientLocalAssets" AfterTargets="Build" Condition="'$(TargetFramework)'!=''">
<Message Text="Validating local assets" Importance="high" />
<Error Condition="!Exists('$(OutputPath)Uno.UI.RuntimeTests\Assets\TransientAsset01.txt')" Text="$(OutputPath)uno.ui.runtimetests\Assets\TransientAsset01.txt" />
</Target>
</Project>