Description
Hi, I have a library project which builds a Package with a config file which is placed in contentFiles\any\any
with PackageCopyToOutput set to true. When installing this as a PackageReference, the config file is copied to the output directory of the consuming project as expected. However, when referencing it as a ProjectReference in a Tester app in the same solution, the config file is not copied to output.
Is there some way to achieve the same behavior between the ProjectReference and PackageReference that I'm missing here? If not, this seems like a deficiency of the current system. It seems very odd to me that ProjectReference functions equivalently as PackageReference in terms of defining transitive dependencies (even supports PrivateAssets, IncludeAssets, etc.), but does not behave the same for copying contentFiles.
Activity