Project reference conditional include with multiple conditions February 3, 2023 by Tarik You should use Or, not ||: Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'"