Content files copied to output are not inherited by other projects #9176
Labels
Area:ContentFiles
PackageReference contentFiles folder
Functionality:Pack
Resolution:NotABug
This issue appears to not be a bug
Resolution:Question
This issues appears to be a question, not a product defect
Using VS2019 and a solution with lots of csprojs,
I have created a NuGet package which just copies a exe file to /bin.
<contentFiles> <files include="**/helper.exe" buildActions="Content" copyToOutput="true" /> </contentFiles>
The package works fine, but if I reference the project in an other project, the exe file (contentFiles) is not copied.
Referencing the package in the top project is not an option, because it is still using the old package.json.
How do I get the content files copied to inherited projects?
The text was updated successfully, but these errors were encountered: