Getting Final Assembly via Reflection in Silverlight
I have this project structure/hierarchy:
Core Project
Framework Components
UI Components
I'm using a reflective process within the "Framework Components" piece. I thought Assembly.GetExecutingAssembly() would return to me the UI Components framework, but because the current executing piece is in Fram开发者_JAVA百科ework Components, it's not, and the caller is the Core project. This is because the class in Framework Components is being called by a component in Core Project for this specific evaluation.
Is there a way to refer to the UI Components framework without explicitly referring to it (in a generic way)?
Thanks.
精彩评论