feat: add ERP agent pet bridge and startup guide

This commit is contained in:
郎速科技
2026-08-14 14:28:28 +08:00
parent a803070819
commit 4c08f4c948
252 changed files with 134752 additions and 72 deletions
@@ -0,0 +1,46 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net40</TargetFramework>
<OutputType>Library</OutputType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net40"
Version="1.0.3"
PrivateAssets="all" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Configuration" />
<Reference Include="System.Data" />
<Reference Include="System.Security" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Lskj.CommandKernel\*.cs"
Exclude="..\Lskj.CommandKernel\Properties\**\*" />
<Compile Include="..\Lskj.AgentBridge\*.cs"
Exclude="..\Lskj.AgentBridge\Properties\**\*" />
<Compile Include="..\Lskj.Cli\*.cs"
Exclude="..\Lskj.Cli\Program.cs;..\Lskj.Cli\Properties\**\*" />
<Compile Include="..\Lskj.Main\Hosting\BusinessWorkflowRegistration.cs" />
<Compile Include="..\Lskj.Main\Hosting\SqlWorkflowProcedureGateway.cs" />
<Compile Include="..\Lskj.Main\Hosting\TrustedErpDatabaseScope.cs" />
<Compile Include="..\Lskj.Main\Hosting\LegacyLedgerSelection.cs" />
<Compile Include="..\Lskj.Main\Hosting\SqlDynamicModuleLookupResolver.cs" />
<Compile Include="..\Lskj.Main\Hosting\SqlDynamicModuleWriteAdapter.cs" />
<Compile Include="..\Lskj.Main\Hosting\SqlDynamicModuleUpdateAdapter.cs" />
<Compile Include="..\Lskj.Main\Hosting\DynamicModuleUpdateAvailability.cs" />
<Compile Include="..\Lskj.Main\Hosting\DynamicModuleWriteAvailability.cs" />
<Compile Include="..\Lskj.Main\Hosting\ModuleDiagnosticCommandHandlers.cs" />
<Compile Include="..\Lskj.Core\SqlTrace.cs" />
<Compile Include="..\Lskj.CommandKernel.Tests\SqlHelperStub.cs"
Link="Compatibility\SqlHelperStub.cs" />
<Compile Include="..\Lskj.CommandKernel.Tests\LegacyBusinessStubs.cs"
Link="Compatibility\LegacyBusinessStubs.cs" />
</ItemGroup>
</Project>
@@ -0,0 +1,5 @@
# .NET Framework 4.0 API compatibility gate
This compile-only project links the production CommandKernel, AgentBridge, CLI, SQL trace, and workflow gateway sources against the official .NET Framework 4.0 reference assemblies. It prevents the regular net6 test harness from hiding accidental calls to APIs introduced after .NET Framework 4.0.
It does not replace the Windows build of the legacy WinForms/DevExpress solution. The customer acceptance build must still run `Build-LegacyErpAcceptance.ps1` on Windows and verify the final PE, CLR, dependency, signature, and source-provenance contracts.