I have string resources defined in 'resx' files in the separate assembly. The project reference to that assembly is added to my WinForm project. The project reference is added correctly and I can access string at the coding time. However, at run time it returns NULL for the strings I refer. I am trying to show the string as a开发者_Go百科 message in message box.
When I see the resource string in Quick Watch it says: "The name does not exist in the current context."
What may be going wrong?
This problem is solved. There was a problem in code where i was reading resource file. The string ID used to read the resource string was wrong.
精彩评论