c# - Determine Local Uri (Assembly.GetEntryAssembly() returns null) -
i have project-folder called testa, folder in called testb , in 1 folder name testc. in testc image (image.png) , want know how uri.
i need call function , give uri function
i tried many things like:
class.function(new uri("pack://application:,,,/testb/testc/image.png"));
but exception:
assembly.getentryassembly() returns null.
i pretty sure, part isn´t correct: "pack://application:,,,/testb/testc/image.png"
thanks suggestions :)
Comments
Post a Comment