Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[OutOfProcCOM] COMRegistration.LocalServer.Unregister does not fully delete the COM class from registry

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
csharp
領域
desktop

調査の方向性

OutOfProcCOM サンプルの ExeServer プロジェクトから始めて、COMRegistration.LocalServer.Unregister を調べます。管理者権限で /regserver と /unregserver の手順を再現し、レジストリ エディターで HKCR\CLSID{AF080472-F173-4D9D-8BE7-435776617347} フォルダーが完全に削除されていることを確認します。

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

説明

The ExeServer project in the OutOfProcCOM sample doesn't fully unregister itself when starting with /unregserver. This seem to be caused by the COMRegistration.LocalServer.Unregister function only deleting the content inside the HKCR\CLSID\{class-id} folder, but not the folder itself.

Steps to reproduce:

  • Build OutOfProcCOM solution
  • Run ExeServer.exe /regserver with admin privileges.
  • Run ExeServer.exe /unregserver with admin privileges.
  • Open regedit.exe and observe that there's still a HKCR\CLSID\{AF080472-F173-4D9D-8BE7-435776617347} folder there.
主要言語
C#
スター
3.7k
フォーク
5.1k
平均マージ
8分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

dotnet/samples のほかの issue

dotnet/samples の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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