[OutOfProcCOM] COMRegistration.LocalServer.Unregister does not fully delete the COM class from registry
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
Start in the ExeServer project in the OutOfProcCOM sample and inspect COMRegistration.LocalServer.Unregister. Reproduce the /regserver and /unregserver steps with administrator privileges, then verify in Registry Editor that the HKCR\CLSID{AF080472-F173-4D9D-8BE7-435776617347} folder is removed completely.
Written by the indexing model from the issue text.
Description
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 /regserverwith admin privileges. - Run
ExeServer.exe /unregserverwith admin privileges. - Open regedit.exe and observe that there's still a
HKCR\CLSID\{AF080472-F173-4D9D-8BE7-435776617347}folder there.
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 5.1k
- Avg merge
- 8m
- Merged PRs (30d)
- 1
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/samples
-
dotnet-target-version
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Race condition in orleans/ShoppingCart/Grains/InventoryGrain.cs#L48Possibly taken @TimonPasslick claimed this 102 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
dotnet-target-version
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
dotnet-target-version
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
VS Code
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AlamoEngine-Tools/pg-starwarsgame-lsp#207 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
elsa-workflows/elsa-core#8593 ·
Maintainers usually reply within 1 day
-
GpioController.QueryComponentInformation() throws NotSupportedException with RaspberryPi3DriverOpenuntriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
WebSocket upgrade check is case-sensitive for `Upgrade`Possibly taken @S0CloseYetS0Far claimed this today. Openbug good first issue severity:low
Difficulty 1/5 Under an hour Newbie friendliness 88/100