Manage MSBuild Change Waves: create new waves, condition features behind opt-out flags, write tests for wave-gated features, document change waves in ChangeWaves.md, and retire expired waves. Use when adding changes that need an opt-out or rotating out old change waves. Changes that introduce a user-visible behavior change should consider whether to use a changewave.
73
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
A Change Wave is an opt-out flag that groups risky features together. Users disable features by setting the environment variable MSBUILDDISABLEFEATURESFROMVERSION to the wave version. This skill covers the how — the full lifecycle: creating a wave, conditioning code on it, testing, documenting, and retiring.
For the when — deciding whether a change is a breaking change and whether it needs a ChangeWave at all — see assessing-breaking-changes.
Use a change wave when a change is valuable but has meaningful compatibility risk for existing builds.
Good candidates:
Usually avoid a change wave for:
If uncertain, default to safety:
Document the decision in PR notes so reviewers can validate the call.
If a changewave is appropriate, consult ChangeWaves-Dev.md (developer-facing) and ChangeWaves.md (public-facing) for details on how to follow the below steps.
Look up the current MSBuild version. If a wave already exists for that version in src/Framework/ChangeWaves.cs, use it. Otherwise, create a new one.
C# and MSBuild examples are in ChangeWaves-Dev.md. Prefer to put checks inline rather than abstracting out a method to host the check.
Write normal tests for the new behavior. Then add at least one test that verifies the old behavior is preserved when the wave is opted out.
Add an entry to the Current Rotation of Change Waves section in ChangeWaves.md.
### {Major}.{Minor} heading at the top of the current rotation list.Each entry is a bullet with a link to the PR:
### 18.6
- [Short description of the change.](https://github.com/dotnet/msbuild/pull/NNNNN)Waves rotate out when a new major .NET version will be released. When retiring a wave, follow the detailed description in ChangeWaves-Dev.md.
eng/Versions.propsAllWaves entry added in ChangeWaves.cs (if new wave)AreFeaturesEnableddocumentation/wiki/ChangeWaves.mdc88db8e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.