I have recently switched over to VS 2008, and at first I was just continuing to target the 2.0 framework. I thought I would try to make the switch to 3.5, and changed all the projects in my solution to target it. It modified the web.configs of the sites to include a system.codedom section. The problem is when I go to build the solution now, I get a compile-time error saying "Child nodes are not allowed" ... which points to that new section in the web.configs:
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
I found a ton of posts that said all you needed to do to fix this is install some updates that could be found on the VS 2008 DVD, but I have installed those and it is still not compiling.

I don't think it is specific to my solution, because if I just create a new web site from scratch in VS 2008 and try to compile it ... I get this same error. It might be something specific to x64 machines, because another developer I work with is running on x86 and never ran into this issue. Any ideas?