title: How to set "When Conditions" in C# application
body: <p>I'm trying to convert an existing C# to premake.  I'm using premake5 alpha 6. In my C# project, there are "When conditions" that set the reference include depending on the build configuration if it's release|x86, Debug|x86..etc.  How do I set the When Condition= in premake?  </p>
  
  <p>In my existing project file:</p>
  
  <pre><code>&lt;When Condition=" ('$(Configuration)|$(Platform)' == 'Release|AnyCPU' Or ('$(Configuration)|$(Platform)' == 'Release|x86')  "&gt;
        &lt;ItemGroup&gt;
          &lt;Reference Include="Project_v100"&gt;
            &lt;HintPath&gt;..\..\bin\x86\Project_v100.dll&lt;/HintPath&gt;
          &lt;/Reference&gt;
        &lt;/ItemGroup&gt;
  &lt;/When&gt;
  </code></pre>
  
  <p>I know that if i do this in premake the result will be something like the below.</p>
  
  <p>In Premake:</p>
  
  <pre><code>links "Project_v100.dll"
  </code></pre>
  
  <p>In project file:</p>
  
  <pre><code>&lt;Reference Include="Project_v100"&gt;
        &lt;HintPath&gt;..\..\bin\x86\Project_v100.dll&lt;/HintPath&gt;
        &lt;Private&gt;False&lt;/Private&gt;
      &lt;/Reference&gt;
  </code></pre>