You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: dotnet build [options] <PROJECT | SOLUTION>
Arguments:
<PROJECT | SOLUTION> The project or solution file to operate on. If a file is not specified, the command will search the current directory for one.
Options:
-h, --help Show command line help.
-o, --output <OUTPUT_DIR> The output directory to place built artifacts in.
-f, --framework <FRAMEWORK> The target framework to build for. The target framework must also be specified in the project file.
-c, --configuration <CONFIGURATION> The configuration to use for building the project. The default for most projects is 'Debug'.
-r, --runtime <RUNTIME_IDENTIFIER> The target runtime to build for.
--version-suffix <VERSION_SUFFIX> Set the value of the $(VersionSuffix) property to use when building the project.
--no-incremental Do not use incremental building.
--no-dependencies Do not build project-to-project references and only build the specified project.
/nologo, --nologo Do not display the startup banner or the copyright message.
--no-restore Do not restore the project before building.
--interactive Allows the command to stop and wait for user input or action (for example to complete authentication).
-v, --verbosity <LEVEL> Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
--force Force all dependencies to be resolved even if the last restore was successful.
This is equivalent to deleting project.assets.json.
It could be more helpful in several ways:
--framework: what can I use for <FRAMEWORK>? Give me the list. Give me an example. It says, "The target framework must also be specified in the project file." Tell me which project file you're looking at, and which frameworks are in there right now. Tell me the default.
--runtime. What can I use for <RUNTIME_IDENTIFIER>? Give me some examples. Tell me where to find the entire list. Tell me what the default is. Link to the RID catalog documentation https://docs.microsoft.com/en-us/dotnet/core/rid-catalog?
When I run
dotnet build --help
, I see:It could be more helpful in several ways:
--framework
: what can I use for<FRAMEWORK>
? Give me the list. Give me an example. It says, "The target framework must also be specified in the project file." Tell me which project file you're looking at, and which frameworks are in there right now. Tell me the default.--runtime
. What can I use for<RUNTIME_IDENTIFIER>
? Give me some examples. Tell me where to find the entire list. Tell me what the default is. Link to the RID catalog documentation https://docs.microsoft.com/en-us/dotnet/core/rid-catalog?Nit: shouldn't the syntax on the first line be:
with
[
]
around PROJECT/SOLUTION to indicate it is optional to specify that?The text was updated successfully, but these errors were encountered: