How to get the path of an embebbed resource?

前端 未结 3 1245
生来不讨喜
生来不讨喜 2021-01-25 18:39

I included an embebbed resource in my C# project; I know its name and how to refer to it, so I was wondering if there is any way to get its absolute path...is there?

3条回答
  •  伪装坚强ぢ
    2021-01-25 18:54

    Embedded resource is exactly that: embedded. It means, that it's included in the assembly and does not exist as a physical file after compilation (if that's what you're looking for).

提交回复
热议问题