I have a custom msbuild task that is generating some output files to the output directory ($(TargetDir)) of a ProjectA. Current code is something like this:
For what it's worth, if I placed a within a target, I'm able to get the output processed without it showing up in my SDK based project.
Additionally, other projects that reference this project gets this as part of the output.