bt-build
Skill8.5k starsChanged 2 months agoMITView on GitHub
Fast incremental C++/MSBuild builds using bt. Use when the user wants to compile, build, check what's dirty, or query build dependencies in a repo that has .vcxproj files. Prefer bt over invoking MSBuild directly for inner-loop source changes (.cpp, .h, .idl, .xaml, .appxmanifest).
Trending
Quiet since August.about the whole repository
Who's talking about microsoft/microsoft-ui-xaml
- dotnet/maui“Cross platform UX for .NET 5”GitHub · Jul 18, 2017 · 217 reactions
- A Hacker News story“WinUI 3 Performance: A Leap Forward”Hacker News · May 14, 2026 · 121 points
- xamarin/Xamarin.Forms“Proposal: Simplify Grid Column and Row Definitions”GitHub · Aug 28, 2019 · 67 reactions
- dotnet/maui“[Enhancement] Cross platform media player”GitHub · Aug 27, 2021 · 44 reactions
- dotnet/maui“Support Global Exception Handling Mechanism for .NET MAUI”GitHub · Mar 23, 2022 · 41 reactions
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on GitHub, Hacker News and Bluesky (24 times).
On GitHub · 12
- Jul 18, 2017Cross platform UX for .NET 5 — dotnet/maui217 reactions · 31 comments
- Aug 28, 2019Proposal: Simplify Grid Column and Row Definitions — xamarin/Xamarin.Forms67 reactions · 13 comments
- Aug 27, 2021[Enhancement] Cross platform media player — dotnet/maui44 reactions · 23 comments
- Mar 23, 2022Support Global Exception Handling Mechanism for .NET MAUI — dotnet/maui41 reactions · 14 comments
- Apr 26, 2019Adds UWP support to Shell — xamarin/Xamarin.Forms39 reactions · 45 comments
7 more on GitHub
- Aug 28, 2019Proposal: Simplify Grid Column and Row Definitions — dotnet/wpf35 reactions · 7 comments
- Jun 22, 2019Support using Win2D with WinUI — microsoft/Win2D35 reactions · 28 comments
- May 19, 2020[WinUI3] Windows Community Toolkit 7.0.1 for Project Reunion 0.5 — CommunityToolkit/WindowsCommunityToolkit30 reactions · 49 comments
- Mar 18, 2020Proposal: Allow the App to Print without showing the Confirmation Dialog to user — microsoft/WindowsAppSDK28 reactions · 47 comments
- Oct 8, 2022Windows Unpackaged support in .NET MAUI — dotnet/maui27 reactions · 4 comments
- May 29, 2020Discussion: Decouple MSIX from AppContainer — microsoft/WindowsAppSDK26 reactions · 14 comments
- Aug 22, 2021BlazorWebView drag and drop does not work with MAUI Templates — dotnet/maui24 reactions · 96 comments
On Hacker News · 11
- May 14, 2026WinUI 3 Performance: A Leap Forward121 points · 141 comments
- Oct 25, 2023WinUI3 Source Available4 points
- Feb 13, 2022Dependency property is much slower in WinUI 3 than in WPF4 points
- Jul 1, 2019Windows UI Library Roadmap4 points
- Oct 25, 2023WinUI 3 is now open source3 points
6 more on Hacker News
- Aug 29, 2026WinUI development is now happening on GitHub2 points
- May 26, 2024Is WinUI 3 Dead?2 points
- Nov 13, 2019Windows UI Library Roadmap Update2 points
- Nov 6, 2019First WinUI 3.0 Alpha now available2 points
- Aug 2, 2025WinUI OSS Update: Phased Rollout Toward Open Collaboration1 point
- Jul 23, 2024Windows UI Library1 point
On Bluesky · 1
- Jan 26, 2025Over here: github.com/microsoft/mi... — @dotmorten.xaml.dev1 likes and repost · 1 reply
In this repository6 other files it gives its agents.
- Samples/TableViewSampleApp/AGENTS.mdAGENTS.md
- src/.github/copilot-instructions.mdCopilot instructions
- buildSkill
- code-reviewSkill
- test-on-vmSkill
- test-suite-setupSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
When in doubt, use MSBuild.
- Very specific: line 40
Run bt --version. If bt is missing, run the install-bt.ps1 script from this skill's directory to download and install it.
- Distinctive: line 77
If product and test binlogs exist with mtimes >1h apart, warn that the set may be inconsistent.
- Very specific: line 79
If no binlog exists, run the build skill.
- Very specific: line 107
Run bt --help for command options (--binlog <path>), bt <subcommand> --help for subcommand options like -j <N>, --debounce <ms>, etc.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
bt — Fast Inner-Loop Builds
bt reads an MSBuild binary log and replays only the dirty
compile/link/MIDL/XAML/makepri steps directly — no MSBuild overhead.
Use bt for the edit-build-debug cycle on source files only.
For anything else, use the build skill (MSBuild).
Headers not yet in the tlog (newly added #includes) bt won't trigger rebuilds
until the next msbuild -bl.
Do NOT use bt when
Any of these are true → use the build skill (MSBuild) instead:
.vcxprojor.vcxitemsfiles were added, removed, or edited.propsor.targetsfiles were changed- NuGet package dependencies changed
- WinRT runtime classes were added or removed
- Packaging, signing, or AppX bundling is needed
- First build of the repo (no binlog exists yet)
- You are unsure whether bt covers the change
When in doubt, use MSBuild.
Before you start
1. Check if bt is installed
Run bt --version. If bt is missing, run the install-bt.ps1 script from
this skill's directory to download and install it. Periodically run it to
update bt as well.
2. Pick the right binlog
bt needs a binlog from a prior MSBuild build. The repo's build scripts
all write to BuildOutput\ with names like:
| Binlog | Scope |
Microsoft.UI.Xaml.<flavor>.binlog | full product (incl. Controls DLL) — prefer for product code |
MUXControls.<flavor>.binlog | test apps + infra — prefer for test code |
Microsoft.ui.xaml.<flavor>.binlog | Microsoft.UI.Xaml.dll only — NOT Controls (mux subset) |
Microsoft.UI.Xaml-Product.<flavor>.binlog | full product (alternate) — fallback for product code |
Microsoft.UI.Xaml.Controls.<flavor>.binlog | Controls DLL only — narrow fallback |
XamlCompilerPrerequisites.<flavor>.binlog | compiler tools — not used by bt |
<flavor> is amd64chk, arm64fre, etc. Single-project builds via
msb/build-clang produce <project>.<flavor>.binlog next to these.
To pick:
- Classify the change by edited paths — test (table below) / mux
(
dxaml/xcp/only) / product (everything else undercontrols/dev,controls/idl,dxaml/,src/). - Pick the freshest binlog whose scope covers that classification, preferring broader scopes (product covers Controls, etc.).
- Infer
<flavor>from the chosen filename. - Pass
--binlog BuildOutput\<chosen>to every bt invocation. bt has no useful default to fall back to.
Caveats:
- On NTFS,
Microsoft.UI.Xaml.<flavor>.binlogandMicrosoft.ui.xaml.<flavor>.binlogcollide — content is whoever wrote last; trust mtime + size, not casing. - If product and test binlogs exist with mtimes >1h apart, warn that the set may be inconsistent.
- If no binlog exists, run the
buildskill.
Test path classification
Anything under these directories is test scope:
controls/test/MUXControls.Test/controls/test/MUXControlsTestApp/controls/test/TabViewTearOutApp/controls/test/TestAppCX/controls/test/IXMPTestApp/controls/test/MUXTestInfra/(if present)Samples/AppTestAutomationHelpers/
Common workflows
| Command | What it does |
bt build | Build everything dirty (always pass --binlog BuildOutput\<x>.binlog) |
bt build MyFile.cpp | Forward walk: compile + relink anything affected by this source |
bt build MyApp.dll | Backward walk: only what this target needs |
bt build -c [target] | Compile only — skip link/lib |
bt build -n | Dry run — print commands without executing |
bt watch [--run <cmd>] | Build on file change; optionally run a command after |
bt [--binlog some.binlog] dirty [target] | What needs building now? |
bt bins MyHeader.h | What rebuilds when this header changes? |
bt srcs [--headers] MyApp.dll | Sources (and optionally #included headers) feeding this target |
Run bt --help for command options (--binlog <path>),
bt <subcommand> --help for subcommand options like -j <N>,
--debounce <ms>, etc.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

