-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclock.csproj
More file actions
41 lines (32 loc) · 1.28 KB
/
clock.csproj
File metadata and controls
41 lines (32 loc) · 1.28 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<!-- 設定 EXE 檔案本身的圖示 (檔案總管看到的) -->
<ApplicationIcon>Assets\app.ico</ApplicationIcon>
<DefaultItemExcludes>$(DefaultItemExcludes);clock.Lib\**;Tests\**</DefaultItemExcludes>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="H.NotifyIcon.Wpf" Version="2.0.124" />
<PackageReference Include="Makaretu.Dns" Version="2.0.1" />
<PackageReference Include="Makaretu.Dns.Multicast" Version="0.27.0" />
</ItemGroup>
<ItemGroup>
<!-- 程式執行時 Tray Icon 使用的資源 -->
<Resource Include="Assets\app.ico" />
<!-- 音效檔案:維持外部存放,方便更換 -->
<None Update="Assets\notify.wav">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="clock.Lib\clock.Lib.csproj" />
</ItemGroup>
</Project>