dotnet / dotnet/msbuild

Adopt RequiresPreviewFeatures instead of Experimental namespace

Open
#7,549 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

When pushing preview API surface that we don't expect to stabilize in a release, we have historically put it in a special `Microsoft.Build.Experimental` namespace, to indicate to consumers that the usual backward-compatibility guarantees did not apply. The .NET platform now has a [`RequiresPreviewFeatures` attribute](https://docs.microsoft.com/dotnet/api/system.runtime.versioning.requirespreviewfeaturesattribute) that can be used to indicate the same, without the final "promotion to production-ready" change being a breaking change. We should consider using it for new experimental features and potentially moving everything that is currently in the Experimental namespace to the new mechanism.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.