We have a localized WinForms application.
When we get translations from 3rd party, new *..resx files appear in the project folders and need to be added to the projects.
For common resource files, e.g. Properties\Resources.de.resx, nothing changes when new files are present, but for the WinForms controls the new files, e.g. AboutBox.de.resx, appear in the solution explorer with a gray dotted icon, even if "Show All Files" is not checked.
To add these new files to the project we use a Visual Studio Extension; it's using EnvDTE model to enumerate all EnvDTE.ProjectItem of all projects, and checks if additional resource files are in the folder but not yet in the project.
Now for the WinForms resources the new files are already enumerated as part of the project (like they are shown in solution explorer) and we can't find a way to distinguish if the item is a real project member or a fake one.
Is there a way to switch of the "feature" of enumerating fake project items for WinForms resources, or any other means to detect these fake items and add them as real items?