http://bugs.winehq.org/show_bug.cgi?id=33384
Bug #: 33384 Summary: Basic WPF application fails to handle images Product: Wine Version: 1.5.25 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: leonidbrook@gmail.com Classification: Unclassified
I created a simple application that display an image loaded from a file (see MainWindow.xaml). The file added as a "Resource" to the application project. Basically, the only thing I added to the base skeleton, is <Image Source="beta.png"/>.
The application fails at System.Media.Imaging.BitmapSource.get_DUCECompatibleMILPtr() with System.InvalidCastException: Specified case is not valid.