Skip to content
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

Reorganize the installer targets to provide a better/cleaner UX and integrate better with the SharedFX SDK #15239

Merged
merged 7 commits into from
Nov 12, 2024

Conversation

jkoritzinsky
Copy link
Member

@jkoritzinsky jkoritzinsky commented Nov 11, 2024

Move many installer properties out of targets and refactor most properties to only be available in the "single installer build" nested build phase (which is where the target that provided them was executed).

Improvements can be seen in dotnet/runtime#109710

To double check:

…rties to only be available in the "single installer build" nested build phase (which is where the target that provided them was executed)
…x package layout msbuild goo. Provide common owned directories directly from the shared framework SDK instead of requiring every consumer to specify them all explicitly.
@@ -0,0 +1,20 @@
<Project>
<PropertyGroup>
<TargetRuntimeOS>$(InstallerRuntimeIdentifier.Substring(0, $(InstallerRuntimeIdentifier.LastIndexOf('-'))))</TargetRuntimeOS>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I'd prefer if we don't invent a new property here that is only used by the installer targets when we already have many other similar properties. I know this is preexisting so feel free to address later.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll address this in a future PR.

@jkoritzinsky jkoritzinsky merged commit 9896092 into dotnet:main Nov 12, 2024
11 checks passed
@jkoritzinsky jkoritzinsky deleted the simplify-common-use-cases branch November 12, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants