title: Project-Conditions multiple lines
body: <p>I have a project that needs to different versions of a few DLLs depending on the release configuration.</p>
  
  <p>Usually I would do that the following way:</p>
  
  <pre><code>&lt;Reference Condition=" '$(Configuration)|$(Platform)' == 'V16Release|AnyCPU' " Include="Microsoft.SharePoint.Client.Runtime, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL"&gt;
    &lt;HintPath&gt;..\packages\Microsoft.SharePointOnline.CSOM.16.1.5626.1200\lib\net45\Microsoft.SharePoint.Client.Runtime.dll&lt;/HintPath&gt;
    &lt;Private&gt;True&lt;/Private&gt;
  &lt;/Reference&gt;
  &lt;Reference Condition=" '$(Configuration)|$(Platform)' == 'V16Release|AnyCPU' " Include="Microsoft.SharePoint.Client.Runtime.Windows, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL"&gt;
    &lt;HintPath&gt;..\packages\Microsoft.SharePointOnline.CSOM.16.1.5626.1200\lib\net45\Microsoft.SharePoint.Client.Runtime.Windows.dll&lt;/HintPath&gt;
    &lt;Private&gt;True&lt;/Private&gt;
  &lt;/Reference&gt;
  </code></pre>
  
  <p>and this for the other Build-configuration:    </p>
  
  <pre><code>&lt;Reference Condition=" '$(Configuration)|$(Platform)' == 'V15Release|AnyCPU' " Include="Microsoft.SharePoint.Client.Runtime, Version=15.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL"&gt;
    &lt;HintPath&gt;..\packages\Microsoft.SharePointOnline.CSOM.15.1.1626.1200\lib\net45\Microsoft.SharePoint.Client.Runtime.dll&lt;/HintPath&gt;
    &lt;Private&gt;True&lt;/Private&gt;
  &lt;/Reference&gt;
  &lt;Reference Condition=" '$(Configuration)|$(Platform)' == 'V15Release|AnyCPU' " Include="Microsoft.SharePoint.Client.Runtime.Windows, Version=15.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL"&gt;
    &lt;HintPath&gt;..\packages\Microsoft.SharePointOnline.CSOM.15.1.1626.1200\lib\net45\Microsoft.SharePoint.Client.Runtime.Windows.dll&lt;/HintPath&gt;
    &lt;Private&gt;True&lt;/Private&gt;
  &lt;/Reference&gt;
  </code></pre>
  
  <p>As you can see, depending on the release configuration, different DLLs are loaded.</p>
  
  <p>While this works, there are more than just two packages. So is there a way to group my conditions like:</p>
  
  <pre><code>&lt;Group Condition=" '$(Configuration)|$(Platform)' == 'V15Release|AnyCPU' "&gt;
    &lt;Reference.... /&gt;
    &lt;Reference.... /&gt;
    &lt;Reference.... /&gt;
    &lt;Reference.... /&gt;
  &lt;/Group&gt;
  </code></pre>
  
  <p>So just a simple "<code>if (left==right) {}</code>" as you would write it in code?</p>