If you have a Visual Studio 2008 solution with one or more Compact Framework (also referred to as “Smart Device”) projects that you’re trying to build with TFS 2010 or MSBuild 4.0, you’ve probably hit one of the following errors: error MSB4062: The "Microsoft.CompactFramework.Build.Tasks.AddHighDPIResource"