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

オープン
#1,036 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp
領域
documentation

調査の方向性

dotnet-desktop-guide/net/winforms/migration/index.md から始め、そこに記載されている移行手順を、報告されている Visual Studio 16.10 と .resx のシリアル化された画像の動作と比較します。可能であれば、報告されているフォーム読み込みの問題を再現または検証します。この回避策について移行ガイダンスに明確化が必要かどうかを判断し、確認された動作を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

doc-enhancement dotnet-desktop/svc Pri2 winforms/subsvc

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.

主要言語
C#
スター
241
フォーク
192
平均マージ
10時間 23分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/docs-desktop のほかの issue

dotnet/docs-desktop の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。