Description
@Magn3s1um commented on Thu Aug 08 2019
I have 3 packages, let call them A, B and C.
Their dependencies are as follows:
C references B, and B references A.
A has the following content:
<Content Include="Startup\**\*.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Inside of B, when referencing this project, the files show up correct in the Startup folder.
Now when packing B though, these content files are placed at the root. So in C, the content files of A actually show up in the root directory.,
There is no way to set this using the package format. I want to inherit the folder structures from child dependencies.
A picture of what happens in project C can be seen below (the original file structure does not stay intact):
A work around is as follows:
Exclude content files from B and directly reference A.
While this works, its not ideal, since consumers of package B need to know about package A.