chore: fix dotnet -p deprecation warning#18632
Conversation
…precation warning (NETSDK1174) See https://docs.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1174
|
Title does not follow the guidelines of Conventional Commits. Please adjust title before merge. |
peterwoodworth
left a comment
There was a problem hiding this comment.
LGTM - Thank you very much!
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
# Overview Replace usage of `-p` with `--project` for `dotnet run` to resolve deprecation warning (`NETSDK1174`). This appears during AWS CDK usage under .NET (C#, F#). The full error message is similar to the following example: > The abbreviation of -p for --project is deprecated. Please use --project. > The use of -p in dotnet run is deprecated because of the close relationship dotnet run has with dotnet build and dotnet publish. In dotnet build and dotnet publish, p is used to set MSBuild properties. This deprecation is the first step in aligning abbreviations for these three commands. Resolves aws#18092 # References See https://docs.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1174 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
# Overview Replace usage of `-p` with `--project` for `dotnet run` to resolve deprecation warning (`NETSDK1174`). This appears during AWS CDK usage under .NET (C#, F#). The full error message is similar to the following example: > The abbreviation of -p for --project is deprecated. Please use --project. > The use of -p in dotnet run is deprecated because of the close relationship dotnet run has with dotnet build and dotnet publish. In dotnet build and dotnet publish, p is used to set MSBuild properties. This deprecation is the first step in aligning abbreviations for these three commands. Resolves aws#18092 # References See https://docs.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1174 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Overview
Replace usage of
-pwith--projectfordotnet runto resolve deprecation warning (NETSDK1174).This appears during AWS CDK usage under .NET (C#, F#).
The full error message is similar to the following example:
Resolves #18092
References
See https://docs.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1174
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license