更新日志记录器和目标框架设置

This commit is contained in:
绪山七寻 2025-06-22 00:19:33 +08:00
parent 936a485195
commit 5f042446b4
2 changed files with 2 additions and 3 deletions

View File

@ -42,7 +42,7 @@ namespace chatclient
public static Socket? Client; public static Socket? Client;
public static readonly HttpClient HttpClient = new HttpClient(); public static readonly HttpClient HttpClient = new HttpClient();
public event PropertyChangedEventHandler? PropertyChanged; public event PropertyChangedEventHandler? PropertyChanged;
private string? _Username; private string? _Username;
public string? Username public string? Username
{ {
get { return _Username; } get { return _Username; }

View File

@ -2,12 +2,11 @@
<PropertyGroup> <PropertyGroup>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows7.0</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF> <UseWPF>true</UseWPF>
<ApplicationIcon>resource\chat.ico</ApplicationIcon> <ApplicationIcon>resource\chat.ico</ApplicationIcon>
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">