Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
The MSBUILDCUSTOMBUILDEVENTWARNING environment variable, which previously allowed custom build events derived from BuildEventArgs, is no longer supported.
Version introduced
.NET 10
Previous behavior
Previously, users could set the MSBUILDCUSTOMBUILDEVENTWARNING environment variable to enable processing of custom build events.
New behavior
Starting in .NET 10, the value of the MSBUILDCUSTOMBUILDEVENTWARNING environment variable is not respected anymore.
Type of breaking change
This change is a behavioral change.
Reason for change
The escape hatch mechanism provided by the MSBUILDCUSTOMBUILDEVENTWARNING environment variable was a temporary workaround. For more information, see the original breaking change.
Recommended action
Use one of the following newly introduced, built-in events for extensibility instead of your custom derived build event:
- ExtendedCustomBuildEventArgs
- ExtendedBuildErrorEventArgs
- ExtendedBuildMessageEventArgs
- ExtendedBuildWarningEventArgs