I\'m suddenly getting this error in my WP8 project, which seems to originate from generated code. I have a previous working version and the App.xaml is identical.
I had the same problem when compiling the standard Windows Phone Databound App template. Following steps worked for me:
%LOCALAPPDATA%\Microsoft\Phone Tools\CoreCon\
and delete the contents of the folders 10.0
and 11.0
I also faced this issue. the root cause for my problem is as below.
1) I referenced below in my code. but i haven't added the library( System.Xml.Serialization.xml). Add Reference and select System.Xml.Serialization.xml to include the dll.
System.Xml.Serialization
2) I use an usercontrol called FileList.xaml in the mainwindow
FileList.xaml
<AM:time2str x:Key="time2str"/>
But i didnt add the class which inherits from IMultiValueConverter
MainWindow.xaml.cs(I missed the following code)
public class time2str : IMultiValueConverter
{
public object Convert(object[] values, System.Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
********************
}
public object[] ConvertBack(object value, System.Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
{
throw new System.NotImplementedException();
}
}
I had this message when the mobile project platform was "ARM", I changed to "any CPU".
Go to:
In my case I had this error after downloading and installing a fresh Visual Studio 2012 (the initial release version) and trying to build the default blank Windows Phone template project straight out of the box - it was only resolved by updating Visual Studio 2012 Express to Update 5.