You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the VS Upgrade Assistant on a fairly large Winforms .NET 4.8 project I noticed that the Upgrade Assistant does not automatically include the property in the project file:
When having Forms where the class name of the Form differs from the filename for the form.cs + .resx file, the .resx file does not get properly embedded and compiled with the correct namespace, leading to a MissingManifestResourceException exception when the Form in question is instantiated.
Adding the aforementioned property manually solves the problem. It would save a lot of time when this property would be included automatically for Winforms projects.
Using the VS Upgrade Assistant on a fairly large Winforms .NET 4.8 project I noticed that the Upgrade Assistant does not automatically include the property in the project file:
<EmbeddedResourceUseDependentUponConvention>true</EmbeddedResourceUseDependentUponConvention>
When having Forms where the class name of the Form differs from the filename for the form.cs + .resx file, the .resx file does not get properly embedded and compiled with the correct namespace, leading to a MissingManifestResourceException exception when the Form in question is instantiated.
Adding the aforementioned property manually solves the problem. It would save a lot of time when this property would be included automatically for Winforms projects.
I got hinted at this solution by https://github.com/dotnet/winforms/issues/638
The text was updated successfully, but these errors were encountered: