Should _BuildOutputInPackage be public? #11942
olivier-spinelli
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a simple need: I need to generate the runtimeconfiguration.json for a class library (a tool requires it), but don't want it to appear in the NuGet package.
I ended up with this, using the "private" _BuildOutputInPackage:
I didn't find any other way (this is not part of the @(Content) so the Pack metadata is useless, I failed to spot a public ItemGroup that would do the job.
I think I may not be the only one.
Did I miss something?
Beta Was this translation helpful? Give feedback.
All reactions