Files
FunGameServer-Test/modules/FunGame.Server.Modules.Melee/FunGame.Server.Modules.Melee.csproj
T
2026-08-28 19:44:46 +08:00

25 lines
1.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>FunGame.Server.Modules.Melee</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\FunGame.Server.Contracts\FunGame.Server.Contracts.csproj" />
</ItemGroup>
<!-- 构建后复制到宿主的游戏模式模组暂存区(热重载:由宿主原子替换到正式目录 modules/games) -->
<Target Name="CopyModulesToHost" AfterTargets="Build">
<ItemGroup>
<ModuleFiles Include="$(TargetDir)$(AssemblyName).dll;$(TargetDir)$(AssemblyName).pdb" />
</ItemGroup>
<MakeDir Directories="$(MSBuildThisFileDirectory)..\..\src\FunGame.Server.Host\modules\games\_staging" />
<Copy SourceFiles="@(ModuleFiles)" DestinationFolder="$(MSBuildThisFileDirectory)..\..\src\FunGame.Server.Host\modules\games\_staging\" SkipUnchangedFiles="false" />
<Message Text="GameModule 已复制到 Host/modules/games/_staging:$(AssemblyName).dll(等待宿主热替换)" Importance="high" />
</Target>
</Project>