Last post Oct 16, 2007 12:44 PM by benrick
Oct 15, 2007 12:18 PM|ASPSmith|LINK
What is the best way to share resources between multiple projects? I want my web applications and my business logic layer assembly to both use the same resources for consistency. Unfortunately, VS2005 resx files generate
internal classes, so they cannot be used this way. What is the best practice approach?
a) Roll my own resources or resource manager provider?
b) Copy the generated code using an MSBuild task or similar hack?
c) Wait for VS2008 it's fixed there?
d) Something else?
Oct 16, 2007 12:44 PM|benrick|LINK
There is a nice custom tool for solving this problem. I just blogged about it actually. It is a custom strongly typed resource generator tool. If you install it and use it instead of the built in one It will generate the code as public instead of internal
and you will not have this problem.
I hope that helps,