Reputation: 2600
My solution contains two projects, one is class library and the other is windows store app blank page project. There's a user control in my class library project, and in the user control, there's an image, the image's property set as embedded resource. But when I use the user control in my xaml page, the image doesnt' display. Anyone can help?
Upvotes: 0
Views: 363
Reputation: 77
Most probably your image file is not showing up in the solution explorer..
Go to your Solution explorer,
right click and select "Add"
select "existing item" and add your image name..
that should do the trick...
Upvotes: 0
Reputation: 23774
Change the Build Type from "Embedded Resource" to "Content"
Upvotes: 1