How can I get the path of the resource file at runtime?
You access the resource by it's name: Properties.Resources.Lily.
I need to get the path of the file with the resource name "Lily": ../Resources/file_name.extension
Asked
Active
Viewed 2,026 times
0

Tim
- 152
- 10
-
Embedded resources are not physical files... Please clarify why (or when) you want to get file for the embedded resource. – Alexei Levenkov Dec 29 '16 at 21:55
-
This resource belongs project A. Project B have project A as a reference. In project B I need to set an image link. The image is a resource file in project A. – Tim Dec 29 '16 at 22:06