Google "ResXResourceReader class"... ;-)

On Dec 18, 6:17 pm, sajithkahawatta <[email protected]> wrote:
> we are developing a web site which must support multi languages. so we
> use .resx files. the user must be able to edit the content of the
> resource file after the deployment.
> we could not be able to put .resx files in to App_GlobalResources,
> the .resx files are compiled to dll's when we publish the site since
> the site is vs 2005 web site. so we keep the resx files in the root.
> but how can we load the .resx files which are not compiled to dll's in
> to resource manager.
> we are using,
>
> ResourceManager rm = new ResourceManager("my.Resource",
> Assembly.GetExecutingAssembly());
> rm.GetString("LblPathTitleStart");
>
> here my is the project name and the file name is "Resource.resx" which
> is in the root. we follow the article,
> "http://www.ondotnet.com/pub/a/dotnet/2002/09/30/manager.html";.
>
> the error massage is,
> "Could not find any resources appropriate for the specified culture or
> the neutral culture.  Make sure "Resource.resources" was correctly
> embedded or linked into assembly "App_Web_a61pd5xi" at compile time,
> or that all the satellite assemblies required are loadable and fully
> signed."
>
> any one can help us. :(
>
> thanx.

Reply via email to