{"id":15418160,"url":"https://github.com/asklar/winrtanalyzers","last_synced_at":"2026-01-26T12:30:15.848Z","repository":{"id":243959386,"uuid":"813869434","full_name":"asklar/WinRTAnalyzers","owner":"asklar","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-12T05:09:26.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T07:42:27.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asklar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-11T22:50:11.000Z","updated_at":"2024-06-27T04:39:13.000Z","dependencies_parsed_at":"2024-06-12T08:16:44.336Z","dependency_job_id":null,"html_url":"https://github.com/asklar/WinRTAnalyzers","commit_stats":null,"previous_names":["asklar/winrtanalyzers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asklar%2FWinRTAnalyzers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asklar%2FWinRTAnalyzers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asklar%2FWinRTAnalyzers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asklar%2FWinRTAnalyzers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asklar","download_url":"https://codeload.github.com/asklar/WinRTAnalyzers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239768923,"owners_count":19693764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T17:19:36.756Z","updated_at":"2026-01-26T12:30:15.786Z","avatar_url":"https://github.com/asklar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WinRT Analyzers\n\nThis project is a post-processing step that takes in WinMD files and runs analyzers.\nThese analyzers can emit diagnostics (e.g. to enforce best practices), as well as generate additional build artifacts that are consumed downstream.\n\n## Implemented analyzers\n### OOPCOMServer\nThis analyzer automatically generates an APPX fragment to expose a WinRT object as a COM server.\n\nExample usage:\n```csharp\nnamespace ConsoleApplication1 {\n    [attributeusage(target_runtimeclass)]\n    attribute ComServerAttribute\n    {\n        String Clsid;\n        String Executable;\n    }\n\n    [attributeusage(target_runtimeclass)]\n    attribute DisplayNameAttribute\n    {\n        String DisplayName;\n    }\n\n    [attributeusage(target_runtimeclass)]\n    attribute LaunchAndActivationPermissionAttribute\n    {\n        String SDDL;\n    }\n\n    [ComServer(\"{C0A3D611-3E3D-4D0D-8D3D-3D3D3D3D3D3D}\", \"ConsoleApplication1.exe\")]\n    [DisplayName(\"My COM Server\")]\n    [LaunchAndActivationPermission(\"D:P(A;;GA;;;SY)(A;;GA;;;BA)\")]\n    runtimeclass MyCOMServer\n    {\n        MyCOMServer();\n        void DoSomething();\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasklar%2Fwinrtanalyzers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasklar%2Fwinrtanalyzers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasklar%2Fwinrtanalyzers/lists"}