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.
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.