KEMBAR78
Shared build props by JohnMcPMS · Pull Request #5749 · microsoft/winget-cli · GitHub
Skip to content

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Sep 26, 2025

Change

Due to an issue with the internal build, it was realized that we could be violating ODR due to a mismatch on the build configurations. This change moves to using the MSBuild Directory.Build.props file to have all projects use the same settings. It also adds a header using #pragma detect_mismatch to attempt to detect the issue at compilation. This header is then included by the errors header, which is used by at least one TU in every project, if not all of them.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS merged commit 7445e1d into microsoft:master Sep 26, 2025
9 checks passed
@JohnMcPMS JohnMcPMS deleted the shared-build-props branch September 26, 2025 22:02
JohnMcPMS added a commit that referenced this pull request Sep 27, 2025
## Change
Implement @florelis suggestion from #5749.
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