In solution explorer to my Class Library I added folder "Resources" with few images in it (image.png). I set build action of each image.png as "Resource".
Now inside this dll I want to return Bitmap image from those resources. But I'm getting error that file is not found.
new BitmapImage(new Uri("pack://application:,,,/Resources/de_image.png"))
This is error:
Cannot locate resource 'resources/de_image.png'.
Any idea how to fix it?