Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Ftt_Common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Ftt_Common
Commits
9694c3fa
Commit
9694c3fa
authored
Sep 02, 2026
by
段廷瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 拆分独立的Agent.Host.exe
parent
e6773c00
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
508 additions
and
0 deletions
+508
-0
Ftt_Common.sln
Ftt_Common.sln
+14
-0
App.config
Tools.Agent.Host/App.config
+19
-0
Program.cs
Tools.Agent.Host/Program.cs
+339
-0
Tools.Agent.Host.csproj
Tools.Agent.Host/Tools.Agent.Host.csproj
+136
-0
No files found.
Ftt_Common.sln
View file @
9694c3fa
...
...
@@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UpdateExecuter", "UpdateExe
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tools.Agent", "Tools.Agent\Tools.Agent.csproj", "{D2D9C734-0C5B-4B06-9E4E-1AE6C4DB3F24}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tools.Agent.Host", "Tools.Agent.Host\Tools.Agent.Host.csproj", "{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tools", "Tools\Tools.csproj", "{C5AB3CE9-C46A-467D-96E4-D80DD3BBB239}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ftt.PatchPack", "Ftt.PatchPack\Ftt.PatchPack.csproj", "{42E384C1-CC13-494D-90E2-33C399E13F07}"
...
...
@@ -61,6 +63,18 @@ Global
{D2D9C734-0C5B-4B06-9E4E-1AE6C4DB3F24}.Release|x86.ActiveCfg = Release|Any CPU
{D2D9C734-0C5B-4B06-9E4E-1AE6C4DB3F24}.Release|x64.Build.0 = Release|Any CPU
{D2D9C734-0C5B-4B06-9E4E-1AE6C4DB3F24}.Release|x86.Build.0 = Release|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Debug|x64.ActiveCfg = Debug|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Debug|x64.Build.0 = Debug|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Debug|x86.ActiveCfg = Debug|x86
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Debug|x86.Build.0 = Debug|x86
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Release|Any CPU.Build.0 = Release|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Release|x64.ActiveCfg = Release|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Release|x64.Build.0 = Release|Any CPU
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Release|x86.ActiveCfg = Release|x86
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}.Release|x86.Build.0 = Release|x86
{C5AB3CE9-C46A-467D-96E4-D80DD3BBB239}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C5AB3CE9-C46A-467D-96E4-D80DD3BBB239}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C5AB3CE9-C46A-467D-96E4-D80DD3BBB239}.Debug|x64.ActiveCfg = Debug|Any CPU
...
...
Tools.Agent.Host/App.config
0 → 100644
View file @
9694c3fa
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
useLegacyV2RuntimeActivationPolicy
=
"true"
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.5"
/>
</
startup
>
<
runtime
>
<
loadFromRemoteSources
enabled
=
"true"
/>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"Newtonsoft.Json"
publicKeyToken
=
"30ad4fe6b2a6aeed"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-12.0.0.0"
newVersion
=
"12.0.0.0"
/>
</
dependentAssembly
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"ICSharpCode.SharpZipLib"
publicKeyToken
=
"1b03e6acf1164f73"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-1.3.2.10"
newVersion
=
"1.3.2.10"
/>
</
dependentAssembly
>
</
assemblyBinding
>
</
runtime
>
</
configuration
>
Tools.Agent.Host/Program.cs
0 → 100644
View file @
9694c3fa
This diff is collapsed.
Click to expand it.
Tools.Agent.Host/Tools.Agent.Host.csproj
0 → 100644
View file @
9694c3fa
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{C6D2B1C8-2C9F-4A8B-9B1D-6C9A6F6D7F61}
</ProjectGuid>
<OutputType>
WinExe
</OutputType>
<RootNamespace>
Tools.MyAgent.Host
</RootNamespace>
<AssemblyName>
Tools.Agent.Host
</AssemblyName>
<TargetFrameworkVersion>
v4.5
</TargetFrameworkVersion>
<TargetFrameworkProfile
/>
<AutoGenerateBindingRedirects>
false
</AutoGenerateBindingRedirects>
<LangVersion>
7.3
</LangVersion>
</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>
<WarningLevel>
4
</WarningLevel>
<Prefer32Bit>
false
</Prefer32Bit>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<WarningLevel>
4
</WarningLevel>
<Prefer32Bit>
false
</Prefer32Bit>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|x86' "
>
<PlatformTarget>
x86
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\x86\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<WarningLevel>
4
</WarningLevel>
<Prefer32Bit>
false
</Prefer32Bit>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|x86' "
>
<PlatformTarget>
x86
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\x86\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<WarningLevel>
4
</WarningLevel>
<Prefer32Bit>
false
</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"ICSharpCode.SharpZipLib, Version=1.3.2.10, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL"
>
<HintPath>
..\packages\SharpZipLib.1.3.2\lib\net45\ICSharpCode.SharpZipLib.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"MySql.Data, Version=6.9.12.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL"
>
<HintPath>
..\packages\MySql.Data.6.9.12\lib\net45\MySql.Data.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"
>
<HintPath>
..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"NPOI, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"
>
<HintPath>
..\packages\NPOI.2.5.1\lib\net45\NPOI.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"NPOI.OOXML, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"
>
<HintPath>
..\packages\NPOI.2.5.1\lib\net45\NPOI.OOXML.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"NPOI.OpenXml4Net, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"
>
<HintPath>
..\packages\NPOI.2.5.1\lib\net45\NPOI.OpenXml4Net.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"NPOI.OpenXmlFormats, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"
>
<HintPath>
..\packages\NPOI.2.5.1\lib\net45\NPOI.OpenXmlFormats.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"Npgsql, Version=3.2.7.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL"
>
<HintPath>
..\packages\Npgsql.3.2.7\lib\net45\Npgsql.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"System.ValueTuple"
>
<HintPath>
..\packages\System.ValueTuple.4.5.0\lib\portable-net40+sl4+win8+wp8\System.ValueTuple.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Configuration"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Drawing"
/>
<Reference
Include=
"System.IO.Compression"
/>
<Reference
Include=
"System.IO.Compression.FileSystem"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Security"
/>
<Reference
Include=
"System.Windows.Forms"
/>
<Reference
Include=
"System.Web"
/>
<Reference
Include=
"System.Xml"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.SQLite, Version=1.0.115.5, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL"
>
<HintPath>
..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\lib\net45\System.Data.SQLite.dll
</HintPath>
<Private>
True
</Private>
</Reference>
<Reference
Include=
"UglyToad.PdfPig"
>
<HintPath>
..\packages\PdfPig.0.0.9\lib\net45\UglyToad.PdfPig.dll
</HintPath>
<Private>
True
</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<None
Include=
"App.config"
/>
<ProjectReference
Include=
"..\Tools.Agent\Tools.Agent.csproj"
>
<Project>
{D2D9C734-0C5B-4B06-9E4E-1AE6C4DB3F24}
</Project>
<Name>
Tools.Agent
</Name>
<GlobalPropertiesToRemove>
Platform
</GlobalPropertiesToRemove>
</ProjectReference>
<Content
Include=
"..\Tools.Agent\Defaults\Agent\prompts\**\*"
>
<Link>
Agent\prompts\%(RecursiveDir)%(Filename)%(Extension)
</Link>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</Content>
<Content
Include=
"..\Tools.Agent\Defaults\Agent\dialect\**\*"
>
<Link>
Agent\dialect\%(RecursiveDir)%(Filename)%(Extension)
</Link>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</Content>
<Content
Include=
"..\Tools.Agent\Defaults\Agent\industry\**\*"
>
<Link>
Agent\industry\%(RecursiveDir)%(Filename)%(Extension)
</Link>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<Import
Project=
"..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net45\Stub.System.Data.SQLite.Core.NetFramework.targets"
Condition=
"Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.115.5\build\net45\Stub.System.Data.SQLite.Core.NetFramework.targets')"
/>
</Project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment