{"id":15012568,"url":"https://github.com/microsoft/undocked","last_synced_at":"2026-03-06T18:10:43.133Z","repository":{"id":212698771,"uuid":"732105649","full_name":"microsoft/undocked","owner":"microsoft","description":"Simplifies the process of building internal, native Windows projects","archived":false,"fork":false,"pushed_at":"2026-01-24T06:42:14.000Z","size":87,"stargazers_count":32,"open_issues_count":7,"forks_count":11,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-02-14T09:30:55.970Z","etag":null,"topics":["build","tools","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-15T16:52:23.000Z","updated_at":"2026-02-03T19:46:26.000Z","dependencies_parsed_at":"2024-01-07T15:34:18.941Z","dependency_job_id":"332f7247-cce3-49a0-8207-68f2ded7ea7c","html_url":"https://github.com/microsoft/undocked","commit_stats":{"total_commits":48,"total_committers":6,"mean_commits":8.0,"dds":0.5,"last_synced_commit":"c0f0aeca773d3375983fe7f68d3c6500a09017ae"},"previous_names":["microsoft/undocked"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/microsoft/undocked","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fundocked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fundocked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fundocked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fundocked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/undocked/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fundocked/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29853876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["build","tools","windows"],"created_at":"2024-09-24T19:42:51.154Z","updated_at":"2026-03-06T18:10:43.099Z","avatar_url":"https://github.com/microsoft.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Undocked Windows Development\n\nThe goal of this project is to provide helpers for Windows components to build exactly as they would internally in the Windows OS repository, but without a lot of complicated manual steps.\n\nThis project provides three main components:\n\n- [windows.undocked.props](vs/windows.undocked.props) - Visual Studio property file to simplify components' project files.\n- [windows.undocked.targets](vs/windows.undocked.targets) - Similar to the .props file, but only required if source link is being used.\n- [build.yml](onebranch/v1/build.yml) - Azure Pipelines template to correctly build in OneBranch (Microsoft's **internal** Azure Pipelines sandbox).\n\n# Example\n\nWith these helpers, new `vcxproj` files can be easily created, understood and maintained by a human. The following is an example for `myapp.exe`.\n\n```xml\n﻿\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cProject DefaultTargets=\"Build\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\"\u003e\n  \u003cPropertyGroup\u003e\n    \u003cProjectGuid\u003e{4b452093-0ce2-4305-811a-06573ccab3c5}\u003c/ProjectGuid\u003e\n    \u003cTargetName\u003emyapp\u003c/TargetName\u003e\n    \u003cUndockedType\u003eexe\u003c/UndockedType\u003e\n  \u003c/PropertyGroup\u003e\n  \u003cImport Project=\"$(UndockedDir)vs\\windows.undocked.props\" /\u003e\n  \u003cItemGroup\u003e\n    \u003cClCompile Include=\"main.c\" /\u003e\n    \u003cResourceCompile Include=\"myapp.rc\" /\u003e\n  \u003c/ItemGroup\u003e\n  \u003cImport Project=\"$(UndockedDir)vs\\windows.undocked.targets\" /\u003e\n\u003c/Project\u003e\n```\n\n## Usage\n\nTo use this project in your component, you must:\n\n#### Get Local Build Working\n\n1. Submodule this repository into your component's repository.\n1. Create a `version.json` file to hold your component's version (see [example](templates/version.json)).\n1. Update your component's project files to set the undocked variables (see [examples](templates)).\n1. Import [windows.undocked.props](vs/windows.undocked.props).\n\n#### Get OneBranch Build Working\n\n1. Copy the `.azure` directory into your project.\n1. Update the `OneBranch.*.yml` files as necessary for your project.\n1. Onboard these new pipelines to OneBranch.\n   - Requires a [service connection](https://learn.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops\u0026tabs=yaml#azure-repos) to GitHub (name it `Undocked GitHub`).\n\n\u003e **Note** - As mentioned above, OneBranch is an internal to Microsoft build environment. If you are not a Microsoft employee, you will not be able to use these pipelines. You can, however, still leverage the property file to build locally.\n\n## Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## Trademarks\n\nThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow\n[Microsoft's Trademark \u0026 Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fundocked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Fundocked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fundocked/lists"}