-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Mark AspNetCore projects that aren't packaged explicitly #18767
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
Conversation
- avoid NU5104 warnings due to confusing versioning - `$(IsShippingPackage)` was semantically incorrect in any case
|
@Pilchie I'm proposing this as tell-mode cleanup for 3.1.3 because the versions in AspNetCore.App projects that don't ship as packages aren't used -- they just cause 30 or so NU5104 without this change. For example, our custom |
|
Any corresponding cleanup needed in |
|
Sounds good to me. |
|
Or maybe we should change https://github.com/dotnet/aspnetcore/blob/release/3.1/Directory.Build.targets#L8 to only set this property if it isn't already set |
With this PR, appears in all of the package+SharedFx projects. I left the line around to provide a reasonable default if someone leaves both |
…p)` projects - default is `true` for all implementation projects
…re handled - remove all use of `$(IsShippingPackage)` for shared framework composition - update documentation to match these changes nits: - remove odd default for `$(IsPackable)` in Directory.Build.targets - no longer relevant since all `$(IsAspNetCoreApp)` projects are `$(IsShippingPackage)` too - include more information in docs/ProjectProperties.md
- avoid MSB3277 warnings
dcda109 to
ae7e34f
Compare
|
@wtgodbe lease give this PR another once-over. I changed this a fair amount since your approval. It's now building successfully 😺 and removes NU1504 errors except the one @JunTaoLuo fixed in #18790 as well as all MSB3277 warnings and some redundancy. |
wtgodbe
left a comment
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.
(Still) looks good
|
@wtgodbe I see branding is done; any reason I should wait on this? |
$(IsShippingPackage)was semantically incorrect in any case