mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-12 15:04:36 +01:00
* Enhance project configurations and improve error handling - Added DebugType and NoWarn settings to project files for EpinelPS, ServerSelector, and ServerSelector.Desktop. - Updated ServerCertificate initialization in Program.cs to read from file bytes for better reliability. - Improved error handling in DoLimitBreak.cs and ExecuteEventGacha.cs by throwing exceptions for null references and unavailable characters, respectively. - Refactored ColorConsoleLoggerProvider to simplify logger creation. These changes aim to enhance debugging capabilities and ensure more robust error management across the application. * Remove DebugType and DebugSymbols
34 lines
1.1 KiB
XML
34 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<NoWarn>$(NoWarn);SYSLIB0057</NoWarn>
|
|
<LangVersion>latest</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
<AvaloniaResource Include="Assets\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia" Version="11.2.3" />
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.3" />
|
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.2.3" />
|
|
<PackageReference Include="FluentAvaloniaUI" Version="2.2.0" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="myCA.pem">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="myCA.pfx">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
<None Update="site.pfx">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
</Project>
|