S
Sam Martin
from a resource file.
Hi all,
Im having a bit of a moment.
I've got resource files in each of my assemblies, just named like
"Labels.resources" for example.
I've got a commond base method in one of my classes, that when given the
resource name = "Labels" and the Assembly i just want to get a string from
the resource file but keep getting:
_message "Could not find any resources appropriate for the specified
culture (or the neutral culture) in the given assembly. Make sure
\"Labels.resources\" was correctly embedded or linked into assembly
\"MyAsm.NameSpace\".\r\nbaseName: Labels locationInfo: <null> resource file
name: Labels.resources assembly: MyAsm, Version=1.0.1788.31693,
Culture=neutral, PublicKeyToken=null" string
the resources file is an embedding resource. Anyone got any ideas why?
TIA
Sam
Hi all,
Im having a bit of a moment.
I've got resource files in each of my assemblies, just named like
"Labels.resources" for example.
I've got a commond base method in one of my classes, that when given the
resource name = "Labels" and the Assembly i just want to get a string from
the resource file but keep getting:
_message "Could not find any resources appropriate for the specified
culture (or the neutral culture) in the given assembly. Make sure
\"Labels.resources\" was correctly embedded or linked into assembly
\"MyAsm.NameSpace\".\r\nbaseName: Labels locationInfo: <null> resource file
name: Labels.resources assembly: MyAsm, Version=1.0.1788.31693,
Culture=neutral, PublicKeyToken=null" string
the resources file is an embedding resource. Anyone got any ideas why?
TIA
Sam