laby
June 3rd, 2008, 04:41 AM
Hi
i have one dynamically created image resource file.But when i am trying to read the image from resource file i am getting one error.
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "D:\my projects\Redist\Images.resources" was correctly embedded or linked into assembly "Helper" at compile time, or that all the satellite assemblies required are loadable and fully signed.
my code is :
_assembly = Assembly.GetExecutingAssembly();
_resourceManager = new ResourceManager(Application.StartupPath + @"\Images", _assembly);
Image image = (Image)_resourceManager.GetObject(fileName);
what is the issue?
regards
laby
i have one dynamically created image resource file.But when i am trying to read the image from resource file i am getting one error.
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "D:\my projects\Redist\Images.resources" was correctly embedded or linked into assembly "Helper" at compile time, or that all the satellite assemblies required are loadable and fully signed.
my code is :
_assembly = Assembly.GetExecutingAssembly();
_resourceManager = new ResourceManager(Application.StartupPath + @"\Images", _assembly);
Image image = (Image)_resourceManager.GetObject(fileName);
what is the issue?
regards
laby