Skip to content

CDK V2 for .NET displays warning for -p usage from .NET 6 SDK #18092

@sjbthfc2

Description

@sjbthfc2

General Issue

Running CDK synth or deploy shows a warning from the .NET 6 SDK

The Question

Please could the following warning be dealth with when running CDK commands for V2 and .NET:

Warning NETSDK1174: The abbreviation of -p for --project is deprecated. Please use --project.

Looks like this should be using --project instead of -p.

Thanks

CDK CLI Version

Warning NETSDK1174: The abbreviation of -p for --project is deprecated. Please use --project.

Framework Version

2.0

Node.js Version

No response

OS

No response

Language

.NET

Language Version

6.0

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    aws-cdk-libRelated to the aws-cdk-lib packagebugThis issue is a bug.effort/smallSmall work item – less than a day of effortgood first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions