Hello, I have a question about pack notation.
I'm trying to access a png image file within a XAML page from another resource assembly.
Let's say the Resource Assembly (which is outside of the local assembly that my xaml file is in), is ResourceAssembly.Common.Resources
and that my image is in ResourceAssembly.Common.Resources/Images/image.png
.
My pack notation looks as follows:
<Image Source="pack://application:,,,/ResourceAssembly.Common.Resources;component/Images/image.png" />
Now, I've checked this and checked it again, checked MSDN libraries, checked blogs and everything, and as far as I know, that is correct. I'm not sure why my image isn't displaying or what the problem is.
The error I'm getting is:
"Error 633 Could not load file or assembly 'ResourceAssembly.Common.Resources, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
"
I imagine I'm missing some simple keyword or some simple syntax error, or something along those lines as that always my problem, but any assistance would be invaluable.
Thanks! Anuj