Skip to content

OptionsBuilderExtensions.ValidateOnStart is available for earlier .NET versions than documented #12596

@mattflaschen

Description

@mattflaschen

Type of issue

Missing information

Description

OptionsBuilderExtensions.ValidateOnStart is documented as available for .NET 10 (package-provided) and .NET 11 (package-provided).

In fact, it is also available at least in .NET 8, as confirmed both by building a .NET 8 project (without using any 10.* libraries) using ValidateOnStart() and looking at the .NET code (OptionsBuilderExtensions.cs in v8.0.0).

Page URL

https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.optionsbuilderextensions.validateonstart?view=net-10.0-pp

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/Microsoft.Extensions.DependencyInjection/OptionsBuilderExtensions.xml

Document Version Independent Id

10b519ef-800a-74b4-fea6-31ba2dc5a0eb

Platform Id

f4f0717a-a60a-fe24-4d83-2630a8e2dab0

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions