Hi
I have a project with quite a number of dialogs in it all with
Localizable=true, and all except one working fine.
But the one is causing me trouble because even though Localizable=true is
set, all strings (.Text properties and the like) are still written to
InitializeComponent() in the .cs file instead of to the .resx file.
I have tried setting the Localizable to false again,
saving/building/restarting studio, and then setting Localizable to true
again but it does not help at all - all strings are still in the .cs file
and when I create a new Menu Item using the designer its .Text is written to
InitializeComponent.
It is only for this one dialog - all other dialogs work as expected.
I have checked my source control and it seems that the problems started when
I migrated from VS2003 to VS2005 - in the last 2003 version the dialog is
loading the strings from the resource manager in the same way as all the
other dialogs, and in the first 2005 version it has the strings written
directly in the .cs file while the other dialogs is doing
resources.ApplyResources. I am not entirely sure that it happened at
migration though as I made other changes after migrating and before checking
in to source control.
Anyone knows a solution? And please do not suggest reimplementing the
dialog - it's huge.
Best regards,
Peter