|
10 | 10 | <LangVersion>preview</LangVersion> |
11 | 11 | <ApplicationIcon>logo.ico</ApplicationIcon> |
12 | 12 | <MvvmToolkitEnableINotifyPropertyChangingSupport>false</MvvmToolkitEnableINotifyPropertyChangingSupport> |
13 | | - <Configurations>Debug;Release;Debug-Linux</Configurations> |
14 | | - <Platforms>AnyCPU</Platforms> |
| 13 | + <Configurations>Debug;Release;Debug-Linux;Release-Linux</Configurations> |
| 14 | + <Platforms>AnyCPU;x64</Platforms> |
| 15 | + <SelfContained>true</SelfContained> |
| 16 | + <!-- 在较老版本的 Windows 上运行,需要设置CETCompat为false, 见 https://github.com/dotnet/runtime/issues/110000 --> |
| 17 | + <CETCompat>false</CETCompat> |
15 | 18 | </PropertyGroup> |
16 | 19 |
|
17 | 20 | <ItemGroup> |
18 | | - <PackageReference Include="Avalonia" Version="11.2.2"/> |
19 | | - <PackageReference Include="Avalonia.AvaloniaEdit" Version="11.1.0" /> |
20 | | - <PackageReference Include="Avalonia.Desktop" Version="11.2.2"/> |
21 | | - <PackageReference Include="Avalonia.Svg.Skia" Version="11.2.0.2" /> |
22 | | - <PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.2"/> |
23 | | - <PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.2"/> |
| 21 | + <PackageReference Include="Avalonia" Version="11.3.4" /> |
| 22 | + <PackageReference Include="Avalonia.AvaloniaEdit" Version="11.3.0" /> |
| 23 | + <PackageReference Include="Avalonia.Desktop" Version="11.3.4" /> |
| 24 | + <PackageReference Include="Avalonia.Svg.Skia" Version="11.3.0" /> |
| 25 | + <PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.4" /> |
| 26 | + <PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.4" /> |
24 | 27 | <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.--> |
25 | | - <PackageReference Include="Avalonia.Diagnostics" Version="11.2.2"> |
| 28 | + <PackageReference Include="Avalonia.Diagnostics" Version="11.3.4"> |
26 | 29 | <IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets> |
27 | 30 | <PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets> |
28 | 31 | </PackageReference> |
29 | | - <PackageReference Include="Avalonia.Xaml.Interactivity" Version="11.2.0.1" /> |
30 | | - <PackageReference Include="AvaloniaEdit.TextMate" Version="11.1.0" /> |
31 | | - <PackageReference Include="DynamicData" Version="9.0.4" /> |
32 | | - <PackageReference Include="FluentAvaloniaUI" Version="2.2.0" /> |
| 32 | + <PackageReference Include="Avalonia.Xaml.Interactivity" Version="11.3.0.6" /> |
| 33 | + <PackageReference Include="AvaloniaEdit.TextMate" Version="11.3.0" /> |
| 34 | + <PackageReference Include="DynamicData" Version="9.4.1" /> |
| 35 | + <PackageReference Include="FluentAvaloniaUI" Version="2.4.0" /> |
33 | 36 | <PackageReference Include="MessageBox.Avalonia" Version="3.2.0" /> |
34 | | - <PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" /> |
| 37 | + <PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.8" /> |
35 | 38 | <PackageReference Include="Ardalis.SmartEnum" Version="8.2.0" /> |
36 | 39 | <PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" /> |
37 | 40 | <PackageReference Include="Enums.NET" Version="5.0.0" /> |
38 | | - <PackageReference Include="Fody" Version="6.9.1"> |
| 41 | + <PackageReference Include="Fody" Version="6.9.3"> |
39 | 42 | <PrivateAssets>all</PrivateAssets> |
40 | 43 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
41 | 44 | </PackageReference> |
42 | | - <PackageReference Include="FSharp.Core" Version="9.0.100" /> |
43 | | - <PackageReference Include="MemoryPack" Version="1.21.3" /> |
44 | | - <PackageReference Include="MethodTimer.Fody" Version="3.2.2" /> |
45 | | - <PackageReference Include="NLog" Version="5.3.4" /> |
46 | | - <PackageReference Include="NLog.Extensions.Logging" Version="5.3.15" /> |
| 45 | + <PackageReference Include="FSharp.Core" Version="9.0.303" /> |
| 46 | + <PackageReference Include="MemoryPack" Version="1.21.4" /> |
| 47 | + <PackageReference Include="MethodTimer.Fody" Version="3.2.3" /> |
| 48 | + <PackageReference Include="NLog" Version="6.0.3" /> |
| 49 | + <PackageReference Include="NLog.Extensions.Logging" Version="6.0.3" /> |
47 | 50 | <PackageReference Include="ParadoxPower" Version="0.5.1-beta" /> |
48 | 51 | <PackageReference Include="ParadoxPower.CSharpExtensions" Version="0.2.2-beta" /> |
49 | 52 | <PackageReference Include="Pfim" Version="0.11.3" /> |
50 | | - <PackageReference Include="Pidgin" Version="3.3.0" /> |
| 53 | + <PackageReference Include="Pidgin" Version="3.5.0" /> |
51 | 54 | </ItemGroup> |
52 | 55 |
|
53 | | - <PropertyGroup Condition="'$(Configuration)' == 'Debug' Or '$(Configuration)' == 'Debug-Linux'" > |
| 56 | + <PropertyGroup Condition="'$(Configuration)' == 'Debug' Or '$(Configuration)' == 'Debug-Linux'"> |
54 | 57 | <DefineConstants>$(DefineConstants);ENABLE_XAML_HOT_RELOAD</DefineConstants> |
55 | 58 | </PropertyGroup> |
56 | 59 |
|
57 | 60 | <ItemGroup> |
58 | | - <PackageReference Condition="$(DefineConstants.Contains(ENABLE_XAML_HOT_RELOAD))" Include="Avalonia.Markup.Xaml.Loader" Version="11.2.2" /> |
59 | | - <PackageReference Condition="$(DefineConstants.Contains(ENABLE_XAML_HOT_RELOAD))" Include="HotAvalonia" Version="2.1.0" /> |
60 | | - <PackageReference Include="HotAvalonia.Extensions" Version="2.1.0" PrivateAssets="All" /> |
| 61 | + <PackageReference Condition="$(DefineConstants.Contains(ENABLE_XAML_HOT_RELOAD))" Include="Avalonia.Markup.Xaml.Loader" Version="11.3.4" /> |
| 62 | + <PackageReference Condition="$(DefineConstants.Contains(ENABLE_XAML_HOT_RELOAD))" Include="HotAvalonia" Version="3.0.0" PrivateAssets="All" Publish="True"> |
| 63 | + |
| 64 | + </PackageReference> |
| 65 | + <PackageReference Include="HotAvalonia.Extensions" Version="3.0.0" PrivateAssets="All" /> |
61 | 66 | </ItemGroup> |
62 | | - <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> |
| 67 | + <PropertyGroup Condition=" '$(Configuration)' == 'Debug' Or '$(Configuration)' == 'Release'"> |
63 | 68 | <DefineConstants>$(DefineConstants);WINDOWS</DefineConstants> |
64 | 69 | </PropertyGroup> |
65 | 70 | <PropertyGroup Condition=" '$(Configuration)' == 'Debug-Linux' "> |
66 | 71 | <DefineConstants>$(DefineConstants);LINUX;DEBUG</DefineConstants> |
67 | 72 | </PropertyGroup> |
| 73 | + <PropertyGroup Condition=" '$(Configuration)' == 'Release-Linux' "> |
| 74 | + <DefineConstants>$(DefineConstants);LINUX;RELEASE</DefineConstants> |
| 75 | + </PropertyGroup> |
68 | 76 | <ItemGroup> |
69 | | - <PackageReference Condition="$(DefineConstants.Contains(WINDOWS))" Include="Vanara.Windows.Shell" Version="4.0.4" /> |
| 77 | + <PackageReference Condition="$(DefineConstants.Contains(WINDOWS))" Include="Vanara.Windows.Shell" Version="4.2.0" /> |
70 | 78 | </ItemGroup> |
71 | 79 |
|
72 | 80 | <ItemGroup> |
|
0 commit comments