-
-
Notifications
You must be signed in to change notification settings - Fork 146
/
Splat.Drawing.csproj
91 lines (91 loc) · 4.49 KB
/
Splat.Drawing.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="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(SplatTargetFrameworks);net8.0-android;net8.0-ios;net8.0-tvos;net8.0-macos;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net462;net472;$(SplatWindowsTargetFrameworks)</TargetFrameworks>
<RootNamespace>Splat</RootNamespace>
<Authors>.NET Foundation and Contributors</Authors>
<Description>A library to make things cross-platform that should be</Description>
<PackageId>Splat.Drawing</PackageId>
<NoWarn>$(NoWarn);1591</NoWarn>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition="($(TargetFramework.EndsWith('-windows10.0.17763.0')) or $(TargetFramework.StartsWith('net4'))) and '$(OS)' == 'Windows_NT'">
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<Using Remove="System.Drawing" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Platforms\**\*.cs" />
<Compile Remove="Resources\**\*.*" />
<EmbeddedResource Remove="Platforms\**\*.*" />
<None Include="Platforms\**\*.cs" />
<None Include="Colors\**\*.cs" />
<None Include="Resources\**\*.*" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('Xamarin.Mac')) ">
<Compile Include="Platforms\apple-common\**\*.cs" />
<Compile Include="Platforms\mac\**\*.cs" />
<Compile Include="Platforms\xamarin-common\**\*.cs" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="netstandard" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
<PackageReference Include="System.Diagnostics.Contracts" />
<PackageReference Include="System.Runtime.Serialization.Primitives" />
<PackageReference Include="System.Drawing.Primitives" />
<Compile Include="Platforms\ReflectionStubs.cs" />
</ItemGroup>
<ItemGroup Condition=" !$(TargetFramework.StartsWith('netstandard')) ">
<Compile Include="Platforms\ServiceLocationDrawingInitialization.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">
<Compile Include="Platforms\net4\**\*.cs" />
<Compile Include="Platforms\TypeForwardedSystemDrawing.cs" />
<Compile Include="Platforms\ReflectionStubs.cs" />
<PackageReference Include="System.Drawing.Primitives" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('net46')) ">
<PackageReference Include="System.ValueTuple" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.EndsWith('0-windows10.0.17763.0'))">
<Compile Include="Platforms\net6\**\*.cs" />
<Compile Include="Platforms\TypeForwardedSystemDrawing.cs" />
<Compile Include="Platforms\ReflectionStubs.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('Xamarin.iOS')) or $(TargetFramework.StartsWith('Xamarin.TVOS')) or $(TargetFramework.StartsWith('Xamarin.WatchOS')) ">
<Compile Include="Platforms\Cocoa\**\*.cs" />
<Compile Include="Platforms\TypeForwardedSystemDrawing.cs" />
<Reference Include="System.Runtime.Serialization" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.EndsWith('0-ios')) or $(TargetFramework.EndsWith('0-tvos')) or $(TargetFramework.EndsWith('0-maccatalyst'))">
<Compile Include="Platforms\Cocoa\**\*.cs" />
<Compile Include="Platforms\TypeForwardedSystemDrawing.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('Xamarin.Mac')) ">
<Compile Include="Platforms\Cocoa\**\*.cs" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="netstandard" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.EndsWith('0-macos'))">
<Compile Include="Platforms\Cocoa\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) ">
<Compile Include="Platforms\Android\**\*.cs" />
<Compile Include="Platforms\TypeForwardedSystemDrawing.cs" />
<Compile Include="Resources\**\*.cs" />
<Reference Include="System.Runtime.Serialization" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.EndsWith('0-android'))">
<Compile Include="Platforms\Android\**\*.cs" />
<Compile Include="Platforms\TypeForwardedSystemDrawing.cs" />
<Compile Include="Resources\**\*.cs" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('tizen')) ">
<Compile Include="Platforms\Tizen\**\*.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Splat\Splat.csproj" />
</ItemGroup>
</Project>