-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEto.WinForms.csproj
executable file
·126 lines (109 loc) · 4.96 KB
/
Eto.WinForms.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<HaveWindowsDesktopSdk Condition="$(HaveWindowsDesktopSdk) == '' and $(OS) == 'Windows_NT'">true</HaveWindowsDesktopSdk>
<TargetFrameworks>netcoreapp3.1;net461</TargetFrameworks>
</PropertyGroup>
<Import Condition="'$(HaveWindowsDesktopSdk)' != 'true'" Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
<Import Condition="'$(HaveWindowsDesktopSdk)' == 'true'" Sdk="Microsoft.NET.Sdk.WindowsDesktop" Project="Sdk.props" />
<PropertyGroup>
<OutputType>Library</OutputType>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<DefineConstants>$(DefineConstants);WINFORMS</DefineConstants>
<NoWarn>MSB4011;$(NoWarn)</NoWarn>
<UseWindowsForms Condition="$(HaveWindowsDesktopSdk) == 'True'">true</UseWindowsForms>
</PropertyGroup>
<PropertyGroup>
<PackageId>Eto.Platform.Windows</PackageId>
<Title>Eto.Forms - Windows Forms Platform</Title>
<Description>Windows Forms Platform for the Eto.Forms UI Framework</Description>
<PackageTags>cross platform gui ui framework desktop wpf eto.forms</PackageTags>
<PackageDescription>
This is the Windows Forms platform for Eto.Forms UI Framework.
Include this along with your Eto.Forms application to provide a Windows Forms interface for your windows users.
You do not need to use any of the classes of this assembly (unless customizing the Windows Forms functionality of the platform), and should just use the UI controls from the Eto assembly.
</PackageDescription>
</PropertyGroup>
<PropertyGroup>
<EmbedReferences>Interop.SHDocVw</EmbedReferences>
<EmbedPrefix>Eto.WinForms.CustomControls.Assemblies</EmbedPrefix>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
</PropertyGroup>
<ItemGroup>
<Reference Include="..\..\lib\SHDocVw\Interop.SHDocVw.dll" EmbedInteropTypes="False" Private="False" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net4')) == 'true'">
<Reference Include="System" Pack="False" />
<Reference Include="System.Drawing" Pack="False" />
<Reference Include="System.Windows.Forms" Pack="False" />
<Reference Include="System.Core" Pack="False" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Eto.Mac\SDConversions.cs">
<Link>SDConversions.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\CustomControls\DragDropLib.cs">
<Link>CustomControls\DragDropLib.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\CustomControls\DragDropLib.Swf.cs">
<Link>CustomControls\DragDropLib.Swf.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\CustomControls\HttpServer.cs">
<Link>CustomControls\HttpServer.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\Forms\NotificationHandler.cs">
<Link>Forms\NotificationHandler.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\Forms\VistaSelectFolderDialogHandler.cs">
<Link>Forms\VistaSelectFolderDialogHandler.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\LogicalScreenHelper.cs">
<Link>LogicalScreenHelper.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\Win32.dib.cs">
<Link>Win32.dib.cs</Link>
</Compile>
<Compile Include="..\Shared\Conversions.cs">
<Link>Conversions.cs</Link>
</Compile>
<Compile Include="..\Shared\GradientHelper.cs">
<Link>Drawing\GradientHelper.cs</Link>
</Compile>
<Compile Include="..\Shared\EmbeddedAssemblyLoader.cs">
<Link>EmbeddedAssemblyLoader.cs</Link>
</Compile>
<Compile Include="..\Shared\FixedMaskedTextProviderHandler.cs">
<Link>Forms\FixedMaskedTextProviderHandler.cs</Link>
</Compile>
<Compile Include="..\Shared\BaseBitmapData.cs">
<Link>Drawing\BaseBitmapData.cs</Link>
</Compile>
<Compile Include="..\Shared\OpenTypeFontInfo.cs">
<Link>Drawing\OpenTypeFontInfo.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\Forms\TaskbarHandler.cs">
<Link>Forms\TaskbarHandler.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\Forms\Controls\WebView2Handler.cs">
<Link>Forms\Controls\WebView2Handler.cs</Link>
</Compile>
<Compile Include="..\Eto.Wpf\Forms\DataObjectHandler.cs">
<Link>Forms\DataObjectHandler.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Eto\Eto.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="CustomControls\CalendarPicker.png" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft-WindowsAPICodePack-Shell" Version="1.1.4" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1020.30" PrivateAssets="all" />
</ItemGroup>
<Import Condition="'$(HaveWindowsDesktopSdk)' != 'true'" Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Condition="'$(HaveWindowsDesktopSdk)' == 'true'" Sdk="Microsoft.NET.Sdk.WindowsDesktop" Project="Sdk.targets" />
</Project>