I'm using a global .resx file for all of the strings in my project to simplify providing all of the translations we will need. So for each of my forms instead of setting Localizable to true, I instead create a global Resourcemanager manager in my constructor like this:
GlobalObjects::rm1 = gcnew System::Resources::ResourceManager(L"Hycal_PC_Software.AppLocalization", Assembly::GetExecutingAssembly());
InitializeComponent();
And then I set the Text values of various form elements like this:
this->fileToolStripMenuItem->Text = GlobalObjects::rm1->GetString(L"File");
Works fine when running the app, but now when I go to design view for a form I get the horrible error page instead of my form because it doesn't like the rm1->. In hindsight it seems obvious it wouldn't but what is the correct way to deal with this? I really don't want to have to have individual .resx files for each form, particularly because they will also contain all sorts of things I don't want to localize.