I have a multi project solution for an asp.net website. There is DAL, BLL and entity projects all shared with another application and a resources project for strings (to support multiple languages).
The resource is set to public. Common.Resources
is the both the project name and the namespace. Strings
is the Resource file. Accessing the resources in code after referencing the project is easy
Common.Resources.Strings.[MyResourceStringNameHere]
The issue is I need to access the resource strings in the sitemap and in literal html tags doesn't work. Examples of what i have tried below.
$Resources:Strings, [MyResourceStringNameHere]
$Resources:Common.Resources.Strings, [MyResourceStringNameHere]
Much searching has led me to believe that I may need a resource manager to bring in the resources from the other project. All examples are aimed towards a SQL resource manager so aren't proving particularly helpful. Any examples, suggestions, etc would be gratefully received.
Thanks in advance...