I am trying to understand what features supports Wine for WPF applications. I created a simple application that display an image loaded from a file (see MainWindow.xaml). Basically, the only thing I added to the base skeleton, is <Image Source="beta.png"/>.
The application (see the attached WineTest.exe) fails on System.Media.Imaging.BitmapSource.get_DUCECompatibleMILPtr() with System.InvalidCastException: Specified case is not valid.
Does Wine supports at all using Image control?
Are there other supported image formats?
Thanks.
WPF on Wine, images support
Re: WPF on Wine, images support
There is no support for WPF in Mono, and hence none in wine-mono. http://www.mono-project.com/WPF
Try running your app with real .NET.
Try running your app with real .NET.
Re: WPF on Wine, images support
In the http://appdb.winehq.org/objectManager.p ... &iId=10166 stated that
"WPF applications are mostly now working thanks to recent client side window rendering code."
According to my test, empty WPF application does work with latest Wine. But when I added a button based on Image, it failed.
"WPF applications are mostly now working thanks to recent client side window rendering code."
According to my test, empty WPF application does work with latest Wine. But when I added a button based on Image, it failed.
Re: WPF on Wine, images support
File a bug.