Repository navigation
Expand file tree
/
Copy pathChatServer.csproj
More file actions
46 lines (38 loc) · 1.58 KB
/
Copy pathChatServer.csproj
File metadata and controls
46 lines (38 loc) · 1.58 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>..\00_server_bins</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>..\00_server_bins</OutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Remove="ClientSession.cs" />
<Compile Remove="ConnectSession.cs" />
<Compile Remove="ConnectSessionManager.cs" />
<Compile Remove="PacketDistribute.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="MemoryPack" Version="1.21.4" />
<PackageReference Include="NLog.Extensions.Logging" Version="6.1.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\SuperSocketLite\SuperSocketLite.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<!-- Docs/GC_Copy_Minimization.md 개선 4: 서버는 Server GC로 돌린다.
DATAS(동적 힙 조정)는 .NET 10 Server GC에서 기본 켬이다. 상시 부하 서버에서 지연이 튀면
빌드를 고치지 말고 DOTNET_GCDynamicAdaptationMode=0 으로 실행해 비교한다. -->
<PropertyGroup>
<ServerGarbageCollection>true</ServerGarbageCollection>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
</PropertyGroup>
</Project>