Skip to content

Repository files navigation

Particular.Obsoletes

This package is used by the team at Particular Software to manage Obsolete attributes in Particular Software C# projects.

The package includes the PreObsolete and ObsoleteMetadata attributes needed to ensure that Obsolete attributes are authored properly.

Usage

Add the following package reference to your csproj:

<PackageReference Include="Particular.Obsoletes" Version="{package version}" PrivateAssets="All" ExcludeAssets="runtime" />

After adding this package to a project, an ObsoleteMetadata attribute can be added to API using this format:

[ObsoleteMetadata(Message = "Message describing why the API is being deprecated", TreatAsErrorFromVersion = "2", RemoveInVersion = "3")]

The package contains fixers that can be used to generate the corresponding Obsolete attribute that matched the provided metadata.

Deployment

Tagged versions are automatically pushed to feedz.io.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages