NETSDK1174: -p abbreviation for --project in dotnet run is deprecated

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.

For more information, see -p option for dotnet run is deprecated.