I am new to WPF. When I create a new WPF project in Visual Studio 2010 .net framework 4.0. and compile it shows a error message
Error 1 Could not load type 'Microsoft.Windows.Design.Metadata.FeatureKeyAttribute' from assembly 'Microsoft.Windows.Design.Platform, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. c:\users\admin\documents\visual studio 2010\Projects\WpfApplication2\WpfApplication2\MainWindow.xaml 1
Even the designer shows error. How to get away with this error?