Skip to content

Code snippets targeting .NET 9 fail to build in the CI #9944

Closed
@kouvel

Description

@kouvel

See #9943. It looks like the CI job is attempting to build the code snippet project with a .NET 8 SDK: https://github.com/dotnet/dotnet-api-docs/actions/runs/9194367833/job/25287610176?pr=9943#step:6:50

Since the code snippet uses a type that was exposed in .NET 9, it can only be built with a .NET 9 SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityneeds-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions