XSharpPublic icon indicating copy to clipboard operation
XSharpPublic copied to clipboard

Problem with WPF images rendering

Open cpyrgas opened this issue 6 years ago • 2 comments

I have a problem on wpf images rendering. When I try to add an image to a ribbon toolbar in wpf the compiler can't find the image in the path and in the resource file and the compiler return me an error "Resource not found". The same solution written in c# works perfectly.

Thank you in advance.

Raffaele.

Ps: In attach the solution ICP.zip

cpyrgas avatar Jun 17 '19 13:06 cpyrgas

I cannot reproduce this in the current build

RobertvanderHulst avatar Nov 10 '22 16:11 RobertvanderHulst

Robert, apparently this is a runtime problem, not a compile time one. I'm on the 2.13 VS integration, but when I try to rebuild and run the app, I get a runtime error: System.Windows.Markup.XamlParseException: ''Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' Line number '17' and line position '18'.'

Also I tried editing the MainWindow.xaml directly in the editor, but even after making only a dummy change, the moment I hit Save, VS freezes forever. HAppens in both VS2017 and VS2019

cpyrgas avatar Nov 10 '22 16:11 cpyrgas