Files
DSP_Mods/LiveStreamAssist/tools/WebSocketTransportCheck/WebSocketTransportCheck.csproj
soarqin e95c832e03 fix(livestreamassist): migrate WebSocket API to Kestrel
Replace Fleck with pinned in-process Kestrel packages and explicit runtime packaging. Fix connection lifetimes, deadlines, admission accounting, and reflection validation.

Add production transport regressions and update the migration guidance with remaining Unity/LAN acceptance gates.
2026-09-17 20:53:05 +08:00

27 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<AssemblyName>WebSocketTransportCheck</AssemblyName>
<RootNamespace>WebSocketTransportCheck</RootNamespace>
<BepInExPluginGuid>org.soardev.livestreamassist.transportcheck</BepInExPluginGuid>
<PackPreloaderTargetDir>none</PackPreloaderTargetDir>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\LiveStreamAssist.csproj" />
<Reference Include="System.Net.Http" />
</ItemGroup>
<!-- Desktop checks need the CLR's 2.0 facade for Kestrel, not Unity's Mono 2.1 type forwarders. -->
<Target Name="KeepRuntimeSpecificFacades" BeforeTargets="GenerateBindingRedirects">
<ItemGroup>
<SuggestedBindingRedirects Remove="netstandard,*" />
</ItemGroup>
</Target>
<Target Name="CopyGameFacades" AfterTargets="Build">
<Copy SourceFiles="@(ReferencePath)" DestinationFolder="$(TargetDir)"
Condition="'%(ReferencePath.Filename)' == 'BepInEx'" />
<Exec Command="powershell.exe -NoProfile -ExecutionPolicy Bypass -File &quot;$(MSBuildThisFileDirectory)..\ReflectionReaderCheck\Copy-GameFacades.ps1&quot; -TargetDir &quot;$(TargetDir).&quot;" />
</Target>
</Project>