C
C#2w ago
stigzler

Pack URIs do my bloody head in - help needed

See image for setup. I'm getting a file not found on GreyscaleEffect.ps. As far as i can see and following the MS guidance, this path should be right. GrayscaleEffect.ps is set to Resource so should be being built into the assembly. Bane of my life these bloody Pack URIs!
No description
4 Replies
stigzler
stigzler2w ago
Error: System.TypeInitializationException HResult=0x80131534 Message=The type initializer for 'WpfWorkspace.GrayscaleEffect' threw an exception. Source=WpfWorkspace This exception was originally thrown at this call stack: [External Code] WpfWorkspace.GrayscaleEffect.New() in GrayscaleEffect.vb Inner Exception 1: NotSupportedException: The URI prefix is not recognized. Nemmind - figured it - it was because it was in a referneced assembly: .UriSource = New Uri("pack://application:,,,/WpfWorkspace;component/ShaderEffects/GrayscaleEffect.ps")
canton7
canton77d ago
$close
MODiX
MODiX7d ago
If you have no further questions, please use /close to mark the forum thread as answered
canton7
canton77d ago
(Note how the information needed to give an answer wasn't in your question. This is why writing a detailed question with a lot of information, even if it doesn't seem relevant to you, is important)
Want results from more Discord servers?
Add your server