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

build: Refactor how pages are included #10960

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Jan 12, 2023

This is much more understandable and maintainable approach.

By default, EnableAutomaticXamlPageInclusion is set to true in Directory.Build.props (early in the build). Individual projects can set it conditionally or unconditionally to false. Then, pages are included later in the build process in Directory.Build.targets. When EnableAutomaticXamlPageInclusion is set to true, a project can define page exclusions to exclude specific pages (conditionally or unconditionally)

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@Youssef1313 Youssef1313 marked this pull request as draft January 12, 2023 11:35
@github-actions github-actions bot added area/automation Categorizes an issue or PR as relevant to project automation area/code-generation Categorizes an issue or PR as relevant to code generation labels Jan 17, 2023
@Youssef1313 Youssef1313 changed the title build: Set ExtrasEnableDefaultPageItems to false instead of removing pages after they are added build: Refactor how pages are included Jan 17, 2023
@Youssef1313 Youssef1313 force-pushed the extras-page branch 3 times, most recently from 6114d93 to 1444777 Compare January 17, 2023 16:33
@github-actions github-actions bot added the area/solution-templates Categorizes an issue or PR as relevant to the solution template label Jan 17, 2023
@Youssef1313 Youssef1313 force-pushed the extras-page branch 8 times, most recently from 0e41719 to b3ef5a4 Compare January 18, 2023 08:44
@Youssef1313
Copy link
Member Author

@jeromelaban @MartinZikmund Can you please take a look?

@Youssef1313
Copy link
Member Author

@jeromelaban @MartinZikmund Is this ready to merge?

@MartinZikmund MartinZikmund merged commit 9a89af7 into unoplatform:master Feb 6, 2023
@Youssef1313 Youssef1313 deleted the extras-page branch February 6, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/automation Categorizes an issue or PR as relevant to project automation area/code-generation Categorizes an issue or PR as relevant to code generation area/solution-templates Categorizes an issue or PR as relevant to the solution template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants