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.
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.