Repository navigation
Expand file tree
/
Copy pathNetDebugger.csproj
More file actions
38 lines (33 loc) · 1.72 KB
/
Copy pathNetDebugger.csproj
File metadata and controls
38 lines (33 loc) · 1.72 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
</PropertyGroup>
<!-- Native AOT 发布配置:仅在 -p:PublishAot=true 时生效,不影响日常构建 -->
<PropertyGroup Condition="'$(PublishAot)' == 'true'">
<IsAotCompatible>true</IsAotCompatible>
<StripSymbols>true</StripSymbols>
<OptimizationPreference>Size</OptimizationPreference>
<!-- ReactiveUI 的 WhenAnyValue 基于表达式树,在 NativeAOT 下由解释器执行(可用,仅性能略低);
压制 IL2026/IL2104/IL3053 分析警告噪音,不影响运行时行为 -->
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
<SuppressAotAnalysisWarnings>true</SuppressAotAnalysisWarnings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="12.1.1" />
<PackageReference Include="Avalonia.Desktop" Version="12.1.1" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="12.1.1" />
<PackageReference Include="ReactiveUI.Avalonia" Version="12.1.1" />
<PackageReference Include="Semi.Avalonia" Version="12.1.0.1" />
<PackageReference Include="ReactiveUI" Version="24.1.0" />
</ItemGroup>
<ItemGroup>
<Compile Remove="NetDebugger.Tests\**" />
<None Remove="NetDebugger.Tests\**" />
</ItemGroup>
</Project>