I am in a slow process of moving to .NET5 but one of the steps before that was converting all our WinForms projects to NET-SDK Project format.
This conversion has been completed, everything appears to work ok but there are some problems that I am having issues with.
Some forms that use resources will throw an exception now that states
System.Resources.MissingManifestResourceException: 'Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Demo.FormTest.resources" was correctly embedded or linked into assembly "Demo" at compile time, or that all the satellite assemblies required are loadable and fully signed.'
I have gotten around a few of these by adding the resource item to the csproj file manually, so I would have to add something like
<ItemGroup>
<EmbeddedResource Update="Demo.FormTest.resx" />
</ItemGroup
which solves the issue for that one form, but with hundreds of forms this is going to be a huge pain... is there a better way to handle all these form resource files in a NET-SDK format project?