-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevtime.csproj
More file actions
64 lines (54 loc) · 2.67 KB
/
Copy pathdevtime.csproj
File metadata and controls
64 lines (54 loc) · 2.67 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net10.0;net10.0-windows</TargetFrameworks>
<RootNamespace>devtime</RootNamespace>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<ApplicationIcon>res\icon.ico</ApplicationIcon>
<Company>dev.exom.devtime</Company>
<Copyright>exom-dev</Copyright>
<Version>2.0.0</Version>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<FileVersion>2.0.0.0</FileVersion>
</PropertyGroup>
<!-- Enable Windows Forms when targeting Windows -->
<PropertyGroup Condition="'$(TargetFramework)' == 'net10.0-windows'">
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<!-- Specify macOS runtime identifiers for Mac64 bundling when targeting net10.0 -->
<PropertyGroup Condition="'$(TargetFramework)' == 'net10.0'">
<RuntimeIdentifiers>osx-x64;osx-arm64</RuntimeIdentifiers>
</PropertyGroup>
<!-- Common packages -->
<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.11.0" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.9" />
<PackageReference Include="SharpHook" Version="7.1.3" />
</ItemGroup>
<!-- Windows specific packages -->
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0-windows'">
<PackageReference Include="Eto.Platform.Windows" Version="2.11.0" />
</ItemGroup>
<!-- Linux and macOS specific packages, TODO: is net9.0 necessary here? -->
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0' or '$(TargetFramework)' == 'net10.0'">
<PackageReference Include="Eto.Platform.Gtk" Version="2.11.0" />
<PackageReference Include="Eto.Platform.Mac64" Version="2.11.0" Condition="'$(RuntimeIdentifier)' == '' or '$(RuntimeIdentifier)' == 'osx-x64' or '$(RuntimeIdentifier)' == 'osx-arm64'" />
</ItemGroup>
<!-- Embed PNG icons as resources inside the assembly -->
<ItemGroup>
<EmbeddedResource Include="res\*.png" />
<None Include="Info.plist" />
</ItemGroup>
<!-- Include macOS icon as content to be copied to the bundle resources only on/for macOS -->
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64' or '$(RuntimeIdentifier)' == 'osx-arm64' or '$(RuntimeIdentifier)' == 'osx' or $([MSBuild]::IsOSPlatform('OSX'))">
<Content Include="res\Icon.icns">
<Link>Icon.icns</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<!-- Suppress known high severity vulnerability warnings in SQLitePCLRaw, since it's not patched yet and we can't do anything about it -->
<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-2m69-gcr7-jv3q" />
</ItemGroup>
</Project>