For the migration to be successful, I have to remove some data in *.resx files
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- documentation
Research direction
Start with dotnet-desktop-guide/net/winforms/migration/index.md and compare its migration steps with the reported Visual Studio 16.10 and .resx serialized-image behavior. Reproduce or verify the reported form-loading problem if possible; done means determining whether the migration guidance needs clarification about this workaround and documenting the confirmed behavior.
Written by the indexing model from the issue text.
Description
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.
- ID: 98778ad1-6c20-6310-e4bc-9d9851a2270a
- Version Independent ID: d1ef1f43-00e2-b46f-4f38-6274a34f07f6
- Content: Migrate a Windows Forms app to .NET 5 - Windows Forms .NET
- Content Source: dotnet-desktop-guide/net/winforms/migration/index.md
- Product: dotnet-desktop
- Technology: dotnet-winforms
- GitHub Login: @adegeo
- Microsoft Alias: adegeo
- Dominant language
- C#
- Stars
- 241
- Forks
- 192
- Avg merge
- 10h 23m
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/docs-desktop
-
:watch: Not Triaged dotnet-target-version
Difficulty 1/5 Under an hour Newbie friendliness 84/100
dotnet/docs-desktop#2313 ·
Maintainers usually reply within 4 days
-
Kuzuberkcem116@comOpen:watch: Not Triaged dotnet-framework/svc wpf/subsvc
Difficulty 1/5 Under an hour Newbie friendliness 22/100
dotnet/docs-desktop#2296 ·
Maintainers usually reply within 4 days
-
:watch: Not Triaged dotnet-framework/svc wpf/subsvc
Difficulty 3/5 Half a day Newbie friendliness 22/100
dotnet/docs-desktop#2295 ·
Maintainers usually reply within 4 days
-
[EPIC] Additional migration efforts after the great mergeMay be free again @adegeo claimed this 572 days ago, and no pull request is open. Opendotnet-desktop/svc dotnet-framework/svc winforms/subsvc wpf/subsvc
dotnet/docs-desktop#2083 · 1 assignee ·
Maintainers usually reply within 4 days
-
How do you populate the WinForms Toolbox in .NET?Possibly taken @adegeo claimed this 672 days ago. Open:pushpin: seQUESTered doc-idea dotnet-desktop/svc winforms/subsvc
dotnet/docs-desktop#1994 · 1 comment · 1 assignee ·
Maintainers usually reply within 4 days
All issues in dotnet/docs-desktop
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
microsoft/fluentui-blazor#5688 ·
Maintainers usually reply within 1 day
-
OpenTelemetryChatClient records gen_ai.response.finish_reasons as a JSON string instead of string[]Openarea-ai bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dotnet/extensions#7995 ·
Maintainers usually reply within 1 day
-
chore: remove stale IL3050/IL3053 workaround from the iOS samplePossibly taken A pull request linked to this issue is open or already merged. OpenState: Needs Discussion
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
getsentry/sentry-dotnet#6071 · 1 comment ·
Maintainers usually reply within 1 day
-
dotnet-target-version
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
area/frontend type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
umbraco/Umbraco-CMS#24867 · 1 comment ·
Maintainers usually reply within 1 day