You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/msbuild/change-waves.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -15,22 +15,22 @@ ms.workload:
15
15
---
16
16
# Change waves
17
17
18
-
A *change wave* is a set of behavior changes in MSBuild that you can opt out of by specifying a particular flag as an environment variable. The purpose of this is to warn you of potentially disruptive changes that will become standard functionality later, so that you have a time period of flexibility for adapting to these changes before they become standard functionality. All the features in a specific change wave can only be enabled or disabled together, not individually.
18
+
A *change wave* is a set of behavior changes in MSBuild that you can opt out of by specifying a particular flag as an environment variable. The purpose of this is to warn you of potentially disruptive changes so that you have flexibility in adapting to these changes before they become standard functionality. All the features in a specific change wave can only be enabled or disabled together, not individually.
19
19
20
20
When you upgrade to a new version of MSBuild, changes that are potentially breaking are enabled by default, but if a feature affects your build negatively, you can easily disable that wave of changes. Each change wave is identified by an MSBuild version number (for example, 16.8), but setting the change wave only controls certain features that have the potential to affect the build process, not all the changes in that MSBuild version. A list of the features in each change wave appears [later in this article](#change-waves-and-associated-features). Disabling a change wave also disables change waves of higher versions.
21
21
22
22
## Opt out of change wave features
23
23
24
-
To disable the features in a change wave, set the environment variable `MSBuildDisableFeaturesFromVersion` to the change wave (or MSBuild version) that contains the feature you want **disabled**. This version happens to be the version of MSBuild that the features were developed for. See the mapping of change waves to features below.
24
+
To disable the features in a change wave, set the environment variable `MSBuildDisableFeaturesFromVersion` to the change wave (or MSBuild version) that contains the feature you want **disabled**. This is the version of MSBuild that the features were developed for. See the mapping of change waves to features below.
25
25
26
26
### MSBuildDisableFeaturesFromVersion Values
27
27
28
-
When you set `MSBuildDisableFeaturesFromVersion` to a particular value, you might get a warning if you don't set it to a specific change wave. The following table shows the possible settings:
28
+
You will receive a warning and/or default to a specific wave if you don't set `MSBuildDisableFeaturesFromVersion` to a valid change wave. The following table shows the possible settings:
29
29
30
30
|`MSBuildDisableFeaturesFromVersion` Value | Result | Receive Warning? |
31
31
| :------------- | :---------- | :----------: |
32
32
| Unset | Enable all change waves, meaning all features behind each change wave are enabled. | No |
33
-
| Any valid and current change Wave (for example, `16.8`) | Disable all features behind change wave `16.8`**and higher**. | No |
33
+
| Any valid and current change wave (for example, `16.8`) | Disable all features behind change wave `16.8`**and higher**. | No |
34
34
| Invalid Value (for example, `16.9` when valid waves are `16.8` and `16.10`)| Default to the closest valid value (ascending). For example, setting `16.9` will default you to `16.10`. | No |
35
35
| Out of Rotation (for example, `17.1` when the highest wave is `17.0`) | Clamp to the closest valid value. For example, `17.1` clamps to `17.0`, and `16.5` clamps to `16.8`| Yes |
36
36
| Invalid Format (for example, `16x8`, `17_0`, `garbage`) | Enable all change waves, meaning all features behind each change wave are enabled. | Yes |
@@ -74,4 +74,4 @@ Opt-out is a better approach for us, otherwise we'd likely get limited feedback
74
74
## See also
75
75
76
76
-[MSBuild](msbuild.md)
77
-
-[What's new in MSBuild 16](whats-new-msbuild-16-0.md)
77
+
-[What's new in MSBuild 16](whats-new-msbuild-16-0.md)
0 commit comments