-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec proposal for opt-in feature where PrivateAssets flag option indepdent from IncludeAssets/ExcludeAssets options #12313
Spec proposal for opt-in feature where PrivateAssets flag option indepdent from IncludeAssets/ExcludeAssets options #12313
Conversation
8113dea
to
1217510
Compare
1217510
to
0864d28
Compare
Fyi @AArnott |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this.
3cf6007
to
41db842
Compare
41db842
to
d231ef3
Compare
8aa4878
to
72bcb2c
Compare
Co-authored-by: Andrew Arnott <andrewarnott@gmail.com>
Co-authored-by: Andrew Arnott <andrewarnott@gmail.com>
Co-authored-by: Andrew Arnott <andrewarnott@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The proposal seems reasonable to me.
I do think that the proposal itself is still really difficult to read and pretty lengthy, so I left a bunch of feedback on that.
- I tried to call out as many of the difficulties I had going through the spec. I think it could be a lot shorter and communicate the same ideas.
- A lot of my comments apply to spec writing overall, so hopefully you find that helpful. Providing the right amount of detail requires going through the same design many times and often, re-reading the same text over and over, it just blurs, so it can be super easy to end up with lots of redundancies. The fact that it's been a while since I last read the spec is probably what allowed me to provide a lot of this feedback.
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\refissue\refissue.csproj" PrivateAssets="none" ExcludedAssetsFlow="true"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you've already communicated that they're independent. Adding length examples is probably best done in something shorter than a paragraph or a complete section.
I had to look hard at the examples to understand them, but in reality, they're really really close together.
If you say PrivateAssets and IncludeAssets are independent once, you don't need an example with different values of IncludeAssets, you just one where PrivateAssets and IncludeAssets conflict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the missing scenarios you mentioned in your previous review comments, so I added 2 more in this part of the spec. #12313 (comment)
Co-authored-by: Nikolche Kolev <nikolce1kolev@gmail.com>
30d1a77
to
0f4b052
Compare
Co-authored-by: Nikolche Kolev <nikolce1kolev@gmail.com>
ddd279f
to
6ac4464
Compare
6ac4464
to
1af7f27
Compare
Related to: #6938
Description
Currently
Include/Exclude
flag completely eclipsesPrivateAssets
flag when generating nupkg package in many cases. So, it doesn't let package dependencies flow to parent projects of consuming project. Here's a spec proposal for how to address with new opt-in feature property.Rendered