How to get RESX value from other project in the same solution
I have two projects in the same solution:
My.Solution.name.with.dots
BLL
Web
in the BLL project, I create a class that need to get a globa开发者_开发知识库l resx value from RESX file that is placed in the Web project. Is it possible ?
BLL can't have a reference to Web project because of the project dependency
The resource, as an accessible class, is part of your web dll. I would be better to move your resource to a separate project that both libraries can access.
Alternatively have a play with the ResXReader to read a resource file from a specific location.
精彩评论