Skip to content

Commit 22a11d2

Browse files
CopilotSoar360
andcommitted
Restore Link metadata - required for correct output path
The Link metadata is necessary to control where the .dat file is placed in the referencing project's output directory. Without it, the file is copied with its full directory structure preserved. Co-authored-by: Soar360 <[email protected]>
1 parent 6f39a73 commit 22a11d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LuYao.ResourcePacker.MSBuild/build/LuYao.ResourcePacker.MSBuild.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
ResourcePattern="$(ResourcePackerPattern)"
1515
OutputFileName="$(ResourcePackerOutputFileName)" />
1616

17-
<!-- Add .dat file to None so it gets copied -->
17+
<!-- Add .dat file to None so it gets copied to referencing projects -->
1818
<ItemGroup>
1919
<None Include="$(OutputPath)$(ResourcePackerOutputFileName)">
2020
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)