WPF: Vector images don't persist in xaml designer

  • Thread starter Thread starter liquidair156
  • Start date Start date
L

liquidair156

Guest
I've started a WPF project and successfully added a couple of vector images. I'll add those images as static resources in Xaml and they work, however, if I navigate away or start typing in a way that makes IntelliSense have to refresh (like invalid markup), the images will no longer show.

Now if I build they are there, and I can get them to come back if I go into properties -> Common -> Source -> Green Square -> LocalResources and select it again, but it's really hard to see how the layout looks when you have to do a 5-step refresh on every image all the time.

Is there a setting for this I'm missing or is this a bug?

Also, I add every image as a static resource but VS will change them to dynamic resources sometimes. Is that normal?

Continue reading...
 
Back
Top