WebBrowser interop API how-to example code does not work in .NET 5.0
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 38/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- csharp
- 領域
- desktop, documentation
調査の方向性
dotnet-desktop-guide/framework/winforms/controls/implement-two-way-com-between-dhtml-and-client.md を更新します。まず、リンクされている issue dotnet/winforms#4443 を読み、その .NET 5.0 向けのガイダンスを既存の .NET Framework 4.8 の例と比較します。ページが非互換性について警告するか、適切に更新された .NET 5.0 バージョンを提供していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This how-to contains example code that worked in .NET Core 3.1 but no longer works in .NET 5.0.
See dotnet/winforms#4443 for details.
I recognize this how-to page is only for .NET Framework 4.8, but there is no other version of this how-to, and WebBrowser is a supported API of both .NET Core 3.1 and .NET 5.0.
Please consider either (a) adding a "note" element in this how-to with a warning and explanation of the issue for .NET 5.0 or (b) create and appropriately update a copy of this how-to for .NET 5.0.
If it's useful to summarize here, the correct code for .NET 5.0 should either:
-
(a) define an interface containing the signature of
Test, add that interface toForm1's declaration, then annotateForm1withComDefaultInterface; or -
(b) extract
Testto a new type, then assign an instance of that type toObjectForScripting(instead of assigningthis).
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: c586d0c9-fb61-4fb5-6f7b-2d1a8abc0dd4
- Version Independent ID: 5e8ef638-ba4d-4b78-b9b4-79e4732b77c8
- Content: How to: Implement Two-Way Communication Between DHTML Code and Client Application Code - Windows Forms .NET Framework
- Content Source: dotnet-desktop-guide/framework/winforms/controls/implement-two-way-com-between-dhtml-and-client.md
- Product: dotnet-framework
- Technology: dotnet-winforms
- GitHub Login: @adegeo
- Microsoft Alias: adegeo
- 主要言語
- C#
- スター
- 241
- フォーク
- 192
- 平均マージ
- 10時間 23分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/docs-desktop のほかの issue
-
:watch: Not Triaged dotnet-target-version
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
dotnet/docs-desktop#2313 ·
メンテナーはふだん 4 日以内に返信
-
Kuzuberkcem116@comオープン:watch: Not Triaged dotnet-framework/svc wpf/subsvc
難易度 1/5 1時間未満 初心者へのやさしさ 22/100
dotnet/docs-desktop#2296 ·
メンテナーはふだん 4 日以内に返信
-
:watch: Not Triaged dotnet-framework/svc wpf/subsvc
難易度 3/5 半日 初心者へのやさしさ 22/100
dotnet/docs-desktop#2295 ·
メンテナーはふだん 4 日以内に返信
-
[EPIC] Additional migration efforts after the great merge再び着手できるかも @adegeo が 572 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdotnet-desktop/svc dotnet-framework/svc winforms/subsvc wpf/subsvc
dotnet/docs-desktop#2083 · 担当者 1 名 ·
メンテナーはふだん 4 日以内に返信
-
How do you populate the WinForms Toolbox in .NET?対応中かも @adegeo が 672 日前に担当しました。 オープン:pushpin: seQUESTered doc-idea dotnet-desktop/svc winforms/subsvc
dotnet/docs-desktop#1994 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 4 日以内に返信
dotnet/docs-desktop の issue をすべて見る
似ている issue
-
dotnet-target-version
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
:watch: Not Triaged dotnet-target-version
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
IntelliTect/Coalesce#794 · コメント 1 件 ·
-
Project dependencies are outdated対応中かも @yasmoradi が今日担当しました。 オープンdependencies
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
bitfoundation/bitplatform#15562 ·
メンテナーはふだん 1 日以内に返信
-
bug priority:low severity:S3
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
squid-farm/talewright#909 ·
メンテナーはふだん 1 日以内に返信