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
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>zyxAdapter</RootNamespace>
|
|
<AssemblyName>zyxAdapter</AssemblyName>
|
|
<LangVersion>8.0</LangVersion>
|
|
<Platforms>AnyCPU</Platforms>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Platform)' == 'AnyCPU'">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DebugSymbols>false</DebugSymbols>
|
|
<DebugType>none</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\MrWu\MrWu.csproj" />
|
|
</ItemGroup>
|
|
</Project> |