Proposal: Generate GUID for projected runtimeclasses via attribute
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 665
- Forks
- 134
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 32
Description
Summary
Projection should generate a Guid member on runtimeclasses annotated with [ComOutOfProcClsId(...)] with its value
- SDK annotates the runtimeclass with an attribute, and
- cswinrt should read from that attribute to generate a Guid member so that you can say typeof(theRuntimeClass).GUID to refer to the CLSID
Rationale
Needed to make OOP APIs usable without additional helper libraries
Important Notes
No response
Open Questions
No response
Contributor 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.
Research direction
Start by tracing how CsWinRT projects runtimeclasses and how it reads the [ComOutOfProcClsId(...)] attribute. Define the generation path needed for a Guid member, then verify that typeof(theRuntimeClass).GUID exposes the annotated CLSID for OOP APIs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100