Skip to content

Developers are directed to helpful documentation for existing obsoletions #47255

Closed

Description

@jeffhandley

We have 114 [Obsolete] attributes that link to https://go.microsoft.com/fwlink/?linkid=14202, which is no longer relevant or helpful. The obsolete APIs should either link to relevant documentation topics or they should not have links embedded in their messages.

While updating these, we can consider using the new UrlFormat property that ObsoleteAttribute offers.

Per #56677:

AppDomain.SetDynamicBase and the methods at https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/AppDomain.cs#L214:L235 are marked as [Obsolete] with a warning of the form AppDomain.Foo has been deprecated. Please investigate the use of AppDomainSetup.Bar instead. https://go.microsoft.com/fwlink/?linkid=14202, but the corresponding property of AppDomainSetup does not exist, confusing developers that stumble upon these obsolete methods.

Activity

  1. ghost added
    untriaged
    on Jan 21, 2021
  2. self-assigned this
    on Jan 21, 2021
  3. added this to the 6.0.0 milestone on Jan 21, 2021
  4. removed
    untriaged
    on Jan 21, 2021
  5. ghost added
    in-pr
    on Aug 1, 2021
  6. ghost removed
    in-pr
    on Aug 4, 2021
  7. ghost locked as resolved and limited conversation to collaborators on Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions