Is there a way to "forward" content / contentFiles from one package to another? #11213
-
This package has For simplicity's sake, let's say I have a super simple project file
I run Is there a way to "forward" the (Just in case I need to say it.. in reality Alternatively, if This seems to work just fine when |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Turns out this is possible (at least with a .NET 6 target framework, I haven't tested anything earlier) If you use the following in
And this in
Then the contentFiles from |
Beta Was this translation helpful? Give feedback.
Turns out this is possible (at least with a .NET 6 target framework, I haven't tested anything earlier)
If you use the following in
MyPackage.csproj
:And this in
MyProject.csproj
:Then the contentFiles from
NewRelic.Agent
will be copied to the output ofMyProject
!