Unrecognized attribute ‘targetFramework’. Note that attribute names are case-sensitive

The problem could be:

  • the Application Pool for your site is configured for .NET Framework Version = v2.0.XXXXX
  • .NET 4 isn’t installed on your server.

See also

… which helped me fix a similar issue.

Leave a Comment