Skip to content

(core): Build script does not recognize dotnet >= 6 #24466

@markusl

Description

@markusl

Describe the bug

Running yarn build does not succeed if dotnet 7 is installed.

Expected Behavior

dotnet 7, which is Microsoft recommendation, should be recognized properly.

Current Behavior

Checking dotnet version... Found dotnet version 7.0.102 [/usr/local/share/dotnet/x64/sdk]. Install dotnet >= 6.0.100

Reproduction Steps

Install recommended .NET 7.0 version from https://dotnet.microsoft.com/en-us/download

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.66.1 (build 539d036)

Framework Version

No response

Node.js Version

v18.12.1

OS

macOS

Language

Typescript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/coreRelated to core CDK functionalitybugThis issue is a bug.effort/smallSmall work item – less than a day of effort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions