Skip to content

Automatically determine the mdmerge merge depth based on the RootNamespace.#538

Merged
Scottj1s merged 3 commits into
microsoft:masterfrom
jlaanstra:jlaans/auto-merge
Jul 26, 2019
Merged

Automatically determine the mdmerge merge depth based on the RootNamespace.#538
Scottj1s merged 3 commits into
microsoft:masterfrom
jlaanstra:jlaans/auto-merge

Conversation

@jlaanstra

@jlaanstra jlaanstra commented Jul 24, 2019

Copy link
Copy Markdown
Contributor

This PR adds new functionality to the build targets to automatically determine the merge depth based on the RootNamespace following the namespace syntax as explained here: https://docs.microsoft.com/en-us/uwp/winrt-cref/winmd-files.

All existing mechanism to set the merge depth take precendence over this new mechanism.

Example

Imagine a project with RootNamespace set to "Namespace1". Within this project there are some classes in Namespace1 and some classes in Namespace1.SubNamespace1

Current behavior

Currently this would result in two winmd files and a developer would have to manually set the merge depth to generate a single file.

New behavior

Merge depth would be automatically set to 1 as the RootNamespace has length 1, resulting in a single winmd file.

@Scottj1s Scottj1s left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

oh yes - property sheet too, thx

@Scottj1s Scottj1s merged commit 7456984 into microsoft:master Jul 26, 2019
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