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
72 lines
2.6 KiB
XML
72 lines
2.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<RootNamespace>CloudAPI</RootNamespace>
|
|
<AssemblyName>CloudAPI</AssemblyName>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<Platforms>AnyCPU</Platforms>
|
|
</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</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</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Aliyun.OSS.SDK" />
|
|
|
|
<PackageReference Include="AlibabaCloud.EndpointUtil" />
|
|
<PackageReference Include="AlibabaCloud.GatewaySpi" />
|
|
<PackageReference Include="AlibabaCloud.OpenApiClient" />
|
|
<PackageReference Include="AlibabaCloud.OpenApiUtil" />
|
|
<PackageReference Include="AlibabaCloud.SDK.Dypnsapi20170525" />
|
|
<PackageReference Include="AlibabaCloud.TeaUtil" />
|
|
<PackageReference Include="AlibabaCloud.TeaXML" />
|
|
<PackageReference Include="Aliyun.Credentials" />
|
|
<PackageReference Include="Tea" />
|
|
|
|
<PackageReference Include="HuaweiCloud.SDK.Core" />
|
|
<PackageReference Include="HuaweiCloud.SDK.Cdn" />
|
|
|
|
<PackageReference Include="System.Memory" />
|
|
</ItemGroup>
|
|
|
|
<!-- <ItemGroup>-->
|
|
<!-- <Compile Include="..\..\hjha_Client\Assets\ScriptCode\Editor\Cloud\**\*.cs">-->
|
|
<!-- <Link>Cloud\%(RecursiveDir)%(Filename)%(Extension)</Link>-->
|
|
<!-- </Compile>-->
|
|
<!-- </ItemGroup>-->
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Aliyun.Api.LogService">
|
|
<HintPath>..\dll\Aliyun.Api.LogService.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Web" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\MrWu\MrWu.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="Cloud\Huawei\" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|