title: Enabling MVCBuildViews based on Conditional Compilation Symbols
body: <p>Is it possible to add conditional steps to your build to check for a custom Conditional Compilation Symbol and enable MVCBuildViews. I've found a way to do this based on the build configuration like so </p>
  
  <pre><code>&lt;PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "&gt;
      &lt;MvcBuildViews&gt;true&lt;/MvcBuildViews&gt;
  &lt;/PropertyGroup&gt;
  </code></pre>
  
  <p>but not sure how to access the compilation symbols instead.</p>
  
  <p>The plan was to add a Symbol under Project Settings > Build > Conditional compilation symbols that controls MVCBuildViews</p>