https://github.com/asklar/winrtwriter
https://github.com/asklar/winrtwriter
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/asklar/winrtwriter
- Owner: asklar
- License: mit
- Created: 2022-09-14T22:46:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-27T17:47:54.000Z (over 3 years ago)
- Last Synced: 2024-12-30T07:42:27.849Z (over 1 year ago)
- Language: C#
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# WinRTWriter
WinRTWriter is a proof-of-concept library to programmatically create WinRT components (WinMD files).
It has two output modes, one for outputting IDL (which you'd then feed to MIDL to get the WinMD), and one to output the WinMD directly.
The IDL part is fairly straightforward since it involves just a text template transformation; this is achieved via T4.
For the WinMD output, we use the ECMA-335 APIs; this is the same approach that C#/WinRT takes and in fact we could refactor the [C#/WinRT](https://github.com/microsoft/CsWinRT) code to extract common code and reuse it here.