MSBuild Property Patterns Canonical property definition and manipulation patterns from the MSBuild repository. Conditional Defaults — The Foundational Pattern Set a property only if not already set , allowing callers to override: < PropertyGroup
< Configuration Condition = " ' $(Configuration)' == '' "
Debug </ Configuration
< Platform Condition = " ' $(Platform)' == '' "
AnyCPU </ Platform
< BuildInParallel Condition = " ' $(BuildInParallel)' == '' "
true </ BuildInParallel
</ PropertyGroup
Rules Show more Installs 931 Repository dotnet/skills GitHub Stars 5.2K First Seen May 22, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass