I'm trying to get an ASP.NET application running on my local PC.
I have the site set in IIS 7 to use an Application pool version 4.0.30319
When I try to build the site in Visual Studio 2008, I get a Configuration error "Unrecognized attribute 'targetFramework'." at the line in web.config...
<compilation debug="false" targetFramework="4.0" />
The version information at the bottom of the browser error says that the .NET Framework is 2.0.50727.4952
So, it looks like there is an issue here.
How do I fix this?