Migrated from net48 (.NET Framework) to net10.0 (cross-platform): - All 14 csproj: net48 → net10.0, WindowsDesktop SDK → Microsoft.NET.Sdk - Excluded WinForms files (Form/**, DebugControl, GameControl, etc.) - Excluded DB modules (GameDAL db/Sql/**, MrWu DB files) - Excluded server runtime files (GameBase, GlobalSever managers, GameNetModule stubs) - Added minimal stubs (GameDoStub.cs, NamespaceStubs.cs, ServerCoreStubs.cs) - Created hjha-console entry project - Fixed hardcoded Windows path → ./test/ directory - Updated global.json to SDK 10.0.109 Console test mode: PdkGameMain(null).Test() → 发牌→包庄→打牌→结算 Verified: dotnet build 0 errors, dotnet run outputs game state machine
58 lines
2.5 KiB
XML
58 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>GameFix</RootNamespace>
|
|
<AssemblyName>GameFix</AssemblyName>
|
|
<LangVersion>9.0</LangVersion>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<Platforms>AnyCPU</Platforms>
|
|
<Configurations>Debug;Release</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;Server</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE;Server</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="MessagePack" />
|
|
<PackageReference Include="MessagePack.Annotations" />
|
|
<PackageReference Include="MessagePackAnalyzer" PrivateAssets="all" />
|
|
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" />
|
|
<PackageReference Include="Microsoft.NET.StringTools" />
|
|
<PackageReference Include="Newtonsoft.Json" />
|
|
<PackageReference Include="System.Buffers" />
|
|
<PackageReference Include="System.Collections.Immutable" />
|
|
<PackageReference Include="System.Memory" />
|
|
<PackageReference Include="System.Numerics.Vectors" />
|
|
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" />
|
|
<PackageReference Include="System.Threading.Tasks.Extensions" />
|
|
</ItemGroup>
|
|
|
|
<!-- <ItemGroup>-->
|
|
<!-- <Compile Include="..\..\hjha_Client\Assets\ScriptCode\UnityGame\GamePlay\Common\**\*.cs"-->
|
|
<!-- Link="GameFix\%(RecursiveDir)%(Filename)%(Extension)" />-->
|
|
<!-- </ItemGroup>-->
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\MrWu\MrWu.csproj" />
|
|
<ProjectReference Include="..\NetWorkMessage\NetWorkMessage.csproj" />
|
|
</ItemGroup>
|
|
</Project> |