-
Notifications
You must be signed in to change notification settings - Fork 0
/
RelinkModOrganizer.csproj
74 lines (67 loc) · 3.54 KB
/
RelinkModOrganizer.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
</PropertyGroup>
<PropertyGroup>
<PublishAot Condition="'$(Configuration)' != 'Debug'">false</PublishAot>
<PublishAotSingleFile>true</PublishAotSingleFile>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<TrimmerSingleWarn>true</TrimmerSingleWarn>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<SatelliteResourceLanguages>en-US;zh-CN</SatelliteResourceLanguages>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<TrimmerRootAssembly Include="RelinkModOrganizer" />
</ItemGroup>
<ItemGroup>
<AvaloniaResource Include="Assets\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.0.10" />
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.0.10" />
<PackageReference Include="Avalonia.Desktop" Version="11.0.10" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.10" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.10" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.10" />
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.10" />
<PackageReference Include="Avalonia.Xaml.Behaviors" Version="11.0.10.9" />
<PackageReference Include="MessageBox.Avalonia" Version="3.1.5.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<!--<PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="8.0.0" />-->
</ItemGroup>
<ItemGroup Label="DataTools">
<PackageReference Include="FlatSharp.Compiler" Version="7.6.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FlatSharp.Runtime" Version="7.6.0" />
<PackageReference Include="MessagePack" Version="2.5.140" />
<PackageReference Include="System.IO.Hashing" Version="8.0.0" />
</ItemGroup>
<ItemGroup Label="DataTools">
<FlatSharpSchema Include="ThirdParties/DataTools/Entities/IndexFile.fbs" />
<FlatSharpSchema Include="ThirdParties/DataTools/Entities/MInfo_ModelInfo.fbs" />
</ItemGroup>
<!-- AOT single file -->
<ItemGroup Label="AotSingleFile" Condition="$(RuntimeIdentifier.StartsWith('win')) AND '$(Configuration)' != 'Debug' AND '$(PublishAot)' == 'true' AND '$(PublishAotSingleFile)' == 'true'">
<DirectPInvoke Include="libHarfBuzzSharp" />
<NativeLibrary Include="Natives/Windows-x64/libHarfBuzzSharp.lib" />
<DirectPInvoke Include="libSkiaSharp" />
<NativeLibrary Include="Natives/Windows-x64/libSkiaSharp.lib" />
<DirectPInvoke Include="av_libglesv2" />
<NativeLibrary Include="Natives/Windows-x64/av_libglesv2.lib" />
<Content Update="*.dll" CopyToPublishDirectory="Never" />
</ItemGroup>
</Project>