问题
I am trying to dynamically load DLLs and I am facing the following issues:
The Resources in the dynamically loaded DLLs are not working. It is picking the neutral culture which is English, and no other .resx files are getting called.
I am unable to call a WCF service in the dynamically loaded DLLs.
For 2) I have a work around but for 1) I am still stuck.
The technology i am using is. Net 4.0(with MEF)
回答1:
I found an alternate solution for 1). It was my mistake only, the resources DLLs were being picked from the wrong path.
来源:https://stackoverflow.com/questions/7802234/localisation-issue-while-dynamically-loading-the-wpf-dlls-using-mef