I have a project-folder called TestA, then a folder in it called TestB and in that one a folder with the name TestC. In TestC is an image (Image.png) and i want to know how to get that uri.
I need to call a function and give the Uri to the function
I already tried many things like:
Class.Function(new Uri("pack://application:,,,/TestB/TestC/Image.png"));
But I always get this Exception:
Assembly.GetEntryAssembly() returns null.
I am pretty sure, that this part isn´t correct: "pack://application:,,,/TestB/TestC/Image.png"
Thanks for any suggestions :)