UserControl (System.Windows.Forms) Question
Posted on 2006-04-11
I am having a very odd problem adding a .resx file to a UserControl.
The user control is part of a Module (basically a class library) inside a Composite UI Application Block application. For some reason, I can't add a .resx file. I clicked on the folder which contains my UserControl and chose =>Add =>New Item=> ResourceFile. I gave my resource file the same name as the user control.
When it is added, it's not showing where I expected it would in the project hierarchy. It shows up directly under the UserControl, and the designer file, which previously occupied that space, is now under the newly-added .resx file. Not only that, but I get a warning message every time I try to edit it.
Am I missing something really obvious here? I can't find any reference to this problem in VS 2005 help, or on the net.