mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 13:28:33 +00:00
Fix HotAvalonia setup
This commit is contained in:
parent
6d1e39c1cc
commit
b7907a9fd9
@ -5,7 +5,6 @@ using Avalonia;
|
||||
using Avalonia.Logging;
|
||||
using Avalonia.ReactiveUI;
|
||||
using DryIoc;
|
||||
using HotAvalonia;
|
||||
using Serilog;
|
||||
|
||||
namespace Artemis.UI.Windows;
|
||||
@ -38,8 +37,7 @@ internal class Program
|
||||
return AppBuilder.Configure<App>()
|
||||
.UsePlatformDetect()
|
||||
.LogToTrace()
|
||||
.UseReactiveUI()
|
||||
.UseHotReload();
|
||||
.UseReactiveUI();
|
||||
}
|
||||
|
||||
public static void CreateLogger(IContainer container)
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
<Project>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||
<!-- If you're a .vbproj user, replace ';' with ',' -->
|
||||
<DefineConstants>$(DefineConstants);ENABLE_XAML_HOT_RELOAD</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Condition="$(DefineConstants.Contains(ENABLE_XAML_HOT_RELOAD))" Include="Avalonia.Markup.Xaml.Loader" />
|
||||
<PackageReference Condition="$(DefineConstants.Contains(ENABLE_XAML_HOT_RELOAD))" Include="HotAvalonia" />
|
||||
<PackageReference Include="HotAvalonia.Extensions" PrivateAssets="All" />
|
||||
<PackageReference Include="HotAvalonia" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@ -66,9 +66,6 @@
|
||||
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="8.11.0" />
|
||||
<PackageVersion Include="System.Text.Json" Version="9.0.5" />
|
||||
<PackageVersion Include="TextMateSharp.Grammars" Version="1.0.68" />
|
||||
|
||||
<PackageVersion Include="Avalonia.Markup.Xaml.Loader" Version="11.3.0" />
|
||||
<PackageVersion Include="HotAvalonia" Version="3.0.0" />
|
||||
<PackageVersion Include="HotAvalonia.Extensions" Version="3.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Loading…
x
Reference in New Issue
Block a user