-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Flow internal transport packages during servicing #75969
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,12 @@ | |
| <NoWarn>$(NoWarn);NU5131</NoWarn> | ||
| </PropertyGroup> | ||
|
|
||
| <!-- Always generate this package during servicing to flow the dependency to WindowsDesktop. --> | ||
| <PropertyGroup Condition="'$(PreReleaseVersionLabel)' == 'servicing'"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why does this PropertyGroup and the one from the file above contain the condition for 'servicing', but not the 6.0 change? Back then, this condition was part of the packaging.targets file.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because the 6.0 change was directly committed to release/6.0 when release/6.0 meant 6.0.1. That branch will never again mean anything else than servicing, that's why the condition wasn't needed. This change is more universal and works in both servicing, RTM and main. |
||
| <GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
| <ServicingVersion>$(PatchVersion)</ServicingVersion> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <!-- Requires Private=true to calculate ReferenceCopyLocalPaths items. | ||
| ReferringTargetFramework is set to $(NetCoreAppCurrent)-windows so that we pack the Windows specific implementation assemblies --> | ||
|
|
||
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.
Comparing to the 6.0 commit, I see the conditions are very different now.
For my own education, would you mind explaining all these differences?
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.
Those conditions were "cleaned-up" in an unrelated change. This change just uses a different style for the condition: instead of
!$(GeneratePackageOnBuild)it now uses'$(GeneratePackageOnBuild)' != 'true'which is the syntax that I prefer. Mainly because it also works when the property isn't set.