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
78 lines
2.9 KiB
XML
78 lines
2.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>MrWu</RootNamespace>
|
|
<AssemblyName>MrWu</AssemblyName>
|
|
<LangVersion>8.0</LangVersion>
|
|
<Deterministic>true</Deterministic>
|
|
<NoWin32Manifest>false</NoWin32Manifest>
|
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<Platforms>AnyCPU</Platforms>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>Full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG;MySQL;MMSQL;SQLITE;BINARY;FROM;RABBITMQ;CONFIG;Test</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<DocumentationFile></DocumentationFile>
|
|
<NoWarn>1591</NoWarn>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
|
<DebugType>PdbOnly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE;MySQL;MMSQL;SQLITE;BINARY;FROM;RABBITMQ;CONFIG</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Newtonsoft.Json" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Ionic.Zip">
|
|
<HintPath>..\dll\Ionic.Zip.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="MySql.Data">
|
|
<HintPath>..\dll\MySql.Data.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Newtonsoft.Json">
|
|
<HintPath>..\..\packages\Newtonsoft.Json.13.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="RabbitMQ.Client">
|
|
<HintPath>..\dll\RabbitMQ.Client.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="ReadMe.txt" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="Debug\DebugControl.cs" />
|
|
<Compile Remove="Debug\DebugControl.Designer.cs" />
|
|
<Compile Remove="DB\MMSSQL.cs" />
|
|
<Compile Remove="DB\SqlParameterData.cs" />
|
|
<Compile Remove="DB\MySqlHelp.cs" />
|
|
<Compile Remove="DB\DBLog.cs" />
|
|
</ItemGroup>
|
|
|
|
</Project> |