Sascha-L / WPF-MediaKit

Microsoft Public License
363 stars 115 forks source link

MediaUriElement can not find resource “effects/deepercolor.ps” #40

Closed LazyCuteLion closed 7 years ago

LazyCuteLion commented 7 years ago

when set DeeperColor="True"

xmedeko commented 7 years ago

May you change the title to English and describe your problem better?

xupefei commented 7 years ago

The title is (in English)

MediaUriElement can not find resource “effects/deepercolor.ps”

xmedeko commented 7 years ago

Check, if the DeeperColorEffect.AssemblyShortName is properly set, i.e. if the URI in the ctor is properly constructed.

AlbatozK commented 7 years ago

I tried build as Release and set Effects/DeeperColor.ps as Resource, It's all work properly.

xmedeko commented 7 years ago

Thanks, I've fixed the csproj.

The setting to the Release is not necessary, it's enough to recompile the project in Debug.