feat: package MyAgent as Shirobot plugin
This commit is contained in:
commit
453a8e7793
12 files changed
+913
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Shirobot.Plugin.MyAgent</RootNamespace>
|
||||
<AssemblyName>Shirobot.Plugin.MyAgent</AssemblyName>
|
||||
<ShiroBotPluginPackagingEnabled>true</ShiroBotPluginPackagingEnabled>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="tests\**\*.cs;MyAgent\**\*.cs;Shirobot\**\*.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||
<ProjectReference Include="MyAgent\MyAgent\MyAgent.csproj" />
|
||||
<ProjectReference Include="Shirobot\SDK\ShiroBot.SDK.csproj" />
|
||||
<ProjectReference Include="Shirobot\Models\QQ\ShiroBot.Model.QQ.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="MyAgent\MyAgent.Web\dist\**\*" Link="wwwroot\%(RecursiveDir)%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in new issue
Block a user