35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<!--
|
|
Copies the prepared GCI runtime package into the TBF output directory.
|
|
This ensures all GCI dependencies are available next to TBF.exe.
|
|
-->
|
|
<Target Name="CopyGciRuntimePackageToTbfOutput" AfterTargets="Build">
|
|
|
|
<!-- Source directory containing the prepared GCI runtime package -->
|
|
<PropertyGroup>
|
|
<GciRuntimePackageDir>$(ProjectDir)..\GenesisCordonelInterface\RuntimePackage\Package\</GciRuntimePackageDir>
|
|
</PropertyGroup>
|
|
|
|
<!-- Collect runtime package files -->
|
|
<ItemGroup>
|
|
<GciRuntimeFiles Include="$(GciRuntimePackageDir)*.dll" />
|
|
<GciRuntimeFiles Include="$(GciRuntimePackageDir)*.exe" />
|
|
<GciRuntimeFiles Include="$(GciRuntimePackageDir)*.config" />
|
|
<GciRuntimeFiles Include="$(GciRuntimePackageDir)*.json" />
|
|
</ItemGroup>
|
|
|
|
<!-- Build output messages -->
|
|
<Message Text="Copying GCI runtime package to TBF output: $(TargetDir)" Importance="High" />
|
|
<Message Text="Source: $(GciRuntimePackageDir)" Importance="High" />
|
|
<Message Text="Files: @(GciRuntimeFiles)" Importance="Normal" />
|
|
|
|
<!-- Copy package files into TBF output directory -->
|
|
<Copy
|
|
SourceFiles="@(GciRuntimeFiles)"
|
|
DestinationFolder="$(TargetDir)"
|
|
SkipUnchangedFiles="false" />
|
|
|
|
</Target>
|
|
|
|
</Project> |