Skip to content

Commit 3f48ca7

Browse files
committed
fix copy command
1 parent e352956 commit 3f48ca7

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

Rubjerg.Graphviz/Rubjerg.Graphviz.csproj

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,22 @@
3232
</ProjectReference>
3333
</ItemGroup>
3434

35+
<ItemGroup>
36+
<!-- Exclude the Resources folder and its contents -->
37+
<None Remove="Resources/" />
38+
</ItemGroup>
39+
3540
<ItemGroup>
3641
<!-- Include all files in the Resources folder but copy them directly to the output directory -->
37-
<None Update="Resources/**/*">
42+
<None Update="Resources/*">
43+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
44+
<Link>%(RecursiveDir)/../%(Filename)%(Extension)</Link>
45+
<Pack>true</Pack>
46+
<PackageCopyToOutput>true</PackageCopyToOutput>
47+
</None>
48+
<None Update="Resources/graphviz/*">
3849
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
39-
<TargetPath>%(RecursiveDir)/../%(Filename)%(Extension)</TargetPath>
50+
<Link>%(RecursiveDir)/../../graphviz/%(Filename)%(Extension)</Link>
4051
<Pack>true</Pack>
4152
<PackageCopyToOutput>true</PackageCopyToOutput>
4253
</None>

0 commit comments

Comments
 (0)