Add agent copy post-build event.

This commit is contained in:
Haiping Chen 2024-01-02 23:07:41 -06:00
parent 981c1d6133
commit 7fcf92fe48
9 changed files with 13 additions and 1 deletions

View file

@ -62,4 +62,8 @@
<ProjectReference Include="..\BotSharp.Abstraction\BotSharp.Abstraction.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy /E /I /D /Y &quot;$(SolutionDir)src/Infrastructure/BotSharp.Core/Planning/agents&quot; &quot;$(SolutionDir)src/WebStarter/data/agents&quot;" />
</Target>
</Project>

View file

@ -1,7 +1,7 @@
{
"name": "PizzaBot",
"description": "Pizza restaurant AI Bot",
"createdDateTime": "2023-08-18T14:39:32.2349685Z",
"createdDateTime": "2023-08-18T10:39:32.2349685Z",
"updatedDateTime": "2023-08-18T14:39:32.2349686Z",
"id": "01fcc3e5-9af7-49e6-ad7a-a760bd12dc4a",
"iconUrl": "https://cdn.iconscout.com/icon/premium/png-256-thumb/route-1613278-1368497.png",

View file

@ -27,4 +27,8 @@
<ProjectReference Include="..\..\Infrastructure\BotSharp.Core\BotSharp.Core.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy /E /I /D /Y &quot;$(SolutionDir)src/Plugins/BotSharp.Plugin.WebDriver/agents&quot; &quot;$(SolutionDir)src/WebStarter/data/agents&quot;" />
</Target>
</Project>

View file

@ -23,4 +23,8 @@
<ProjectReference Include="..\..\src\Infrastructure\BotSharp.Core\BotSharp.Core.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy /E /I /D /Y &quot;$(SolutionDir)tests/BotSharp.Plugin.PizzaBot/agents&quot; &quot;$(SolutionDir)src/WebStarter/data/agents&quot;" />
</Target>
</Project>