WPF MediaElement source in C# 2010

Posted by Alex Farber on Stack Overflow See other posts from Stack Overflow or by Alex Farber
Published on 2010-04-18T05:53:33Z Indexed on 2010/04/18 6:03 UTC
Read the original article Hit count: 926

Filed under:
|

The sample from the book is compiled and executed successfully in VS2008. Project contains file Bear.wmw in the project directory. XAML:

MediaElement Source="Bear.wmv"

Build Action = Content, Copy to output directory = Copy always

In C# 2008 this file is shown in the window. In C# 2010 Express file is not shown. Output directory contains this file. How can this be fixed?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about c#