Skip to content

For the migration to be successful, I have to remove some data in *.resx files #1036

Open
@xpouyat

Description

@xpouyat

For the migration of my Winforms app to be successful, I have to use Visual Studio 16.10 Preview 2 and edit resx files.

As there were error in loading some of the forms, I found that I need to remove some data in *.resx files in order for Designer to be able to load the forms without errors. The data to be removed are serialized images in the *.resx files. For example

<data name="createStreamingEndpointToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
        dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAA0SURBVDhPY/j//z9FGKsgKRhCYAcgCRjGAKMGYBqA
        rJgoPPgMwAaQNWCAUQPQDCAf/2cAAPWXSMZeEajdAAAAAElFTkSuQmCC
</value>
 </data>

So I removed all these sections in resx files and forms now load. Then I have to reconfigure the images in the menus etc.

The localization feature for winforms with .Net 5 works but I had to use Visual Studio 16.10 Preview 2. It was not working with Visual Studio 16.9.4.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions