开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜