IIS 7 unable to find Microsoft.CodDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider DLL
<p>So when deploying our web service using a customized build configuration, after deploying I get the error: </p>

<blockquote>
  <p>The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, could not be located.</p>
</blockquote>

<p>when trying to browse the site. Looking in the bin\~configurationName~ folder, I can find the specified DLL just fine though. The error is referencing these lines in my web.config:</p>

<pre><code>  &lt;system.codedom&gt;
    &lt;compilers&gt;
      &lt;compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" /&gt;
      &lt;compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&amp;quot;Web\&amp;quot; /optionInfer+" /&gt;
    &lt;/compilers&gt;
  &lt;/system.codedom&gt;
</code></pre>

<p>Odd thing is when building/deploying for Debug on the same server, I don't run into this issue and everything seems to work fine (which leads me to believe this error exists with my project configuration, not the deployment server). The configuration I'm building for when getting this error is our custom defined QA config, which outputs to bin\QA, so I'm wondering if there's something special I need to do to get the ASP.NET compiler to look at special output folders?</p>