-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFreeWPFShell.csproj
More file actions
65 lines (54 loc) · 2.54 KB
/
FreeWPFShell.csproj
File metadata and controls
65 lines (54 loc) · 2.54 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
65
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0-windows10.0.26100.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<Platforms>x64</Platforms>
<PlatformTarget Condition="'$(Platform)' == 'x64'">x64</PlatformTarget>
<PlatformTarget Condition="'$(Platform)' == ''">x64</PlatformTarget>
<RuntimeIdentifier Condition="'$(Platform)' == 'x64'">win-x64</RuntimeIdentifier>
<Prefer32Bit>false</Prefer32Bit>
<UseWindowsForms>False</UseWindowsForms>
<SupportedOSPlatformVersion>10.0.17763.0</SupportedOSPlatformVersion>
<ApplicationIcon>MainIcon.ico</ApplicationIcon>
<Optimize>true</Optimize>
<TieredCompilation>true</TieredCompilation>
<TieredPGO>true</TieredPGO>
<SelfContained>false</SelfContained>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<DebugType>none</DebugType>
<NoWarn>1701;1702;CA1416</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DebugType>none</DebugType>
<NoWarn>1701;1702;CA1416</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MahApps.Metro.IconPacks.RemixIcon" Version="6.2.1" />
<PackageReference Include="MicaWPF" Version="1.0.0" />
<PackageReference Include="Microsoft.Terminal.Wpf" Version="0.1.0" />
<PackageReference Include="SSH.NET" Version="2025.1.0" />
<PackageReference Include="MaxMind.Db" Version="4.2.0" />
</ItemGroup>
<ItemGroup>
<None Include="IPDataBase\**\*.mmdb" CopyToOutputDirectory="PreserveNewest" LinkBase="IPDataBase" />
</ItemGroup>
<ItemGroup>
<Content Include="MainIcon.ico" />
</ItemGroup>
<ItemGroup>
<None Update="background_blur.hlsl">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="linux-monitor\linux-monitor">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="echo "正在运行Rust编译批处理..."
call "$(ProjectDir)linux-monitor\compile.bat" "$(ProjectDir)linux-monitor"
if %25errorlevel%25 neq 0 (
 echo "Rust编译失败,退出生成解决方案..."
 exit /b %25errorlevel%25
)
echo "Rust编译成功"
" />
</Target>
</Project>