I tried to build a nuget package to copy some files to the output directory of the referenced project, and I did so as follows:
- Create
[projectName].targetsfile. - Use the
csprojfile to package the files to be copied with the[projectName].targetsfile. - Call
Copyin the[projectName].targetsfile.
This works when the nuget package is referenced directly, but not when it is referenced indirectly, how can I solve this problem?