Hmm... "add as link"ed images don't show up at runtime
Sorry guys, I开发者_StackOverflow posted this earlier today where my "add as link"ed images were giving me a design-time error. I got assistance with that and now my code compiles, but now the images don't even appear when my application runs.
Just for giggles, I changed the Build Action for the images, and nothing made a difference.
Is there anything I can do to debug this and figure out if there's a runtime error preventing me from displaying images?
This is the first time I've experienced this, because until today, I've always had my images in my project folder.
I found my answer, and ironically enough, the person that answered my previous question suggested something there that would have helped me out here.
Synopsis: don't use linked images in your WPF app because they are not treated the same as images in your project folder. This is a confirmed bug and will be fixed in VS2010.
精彩评论