Исправление: том ./mods:/lampac/mods в compose и копии 10 модулей с enable:true; конфиг без SkipModules

This commit is contained in:
2026-10-02 12:11:49 +03:00
parent 8dcbc6bc52
commit 7b8e28b3bf
151 changed files with 68625 additions and 44 deletions
+28
View File
@@ -0,0 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<OutputType>library</OutputType>
<IsPackable>true</IsPackable>
<RootNamespace>TelegramBot</RootNamespace>
<AssemblyName>TelegramBot</AssemblyName>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Telegram.Bot" Version="22.4.4" />
<ProjectReference Include="..\..\Shared\Shared.csproj" />
</ItemGroup>
<!-- Кладёт Telegram.Bot.dll в references/ для рантайм-компиляции Roslyn на сервере -->
<Target Name="CopyTelegramBotToModReferences" AfterTargets="ResolveReferences">
<ItemGroup>
<_TelegramBotRef Include="@(ReferencePath)" Condition="'%(Filename)' == 'Telegram.Bot'" />
</ItemGroup>
<MakeDir Directories="$(MSBuildProjectDirectory)\references" />
<Copy SourceFiles="@(_TelegramBotRef)" DestinationFolder="$(MSBuildProjectDirectory)\references"
SkipUnchangedFiles="true" Condition="@(_TelegramBotRef->Count()) != 0" />
</Target>
</Project>