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
Copy file name to clipboardExpand all lines: docs/core/executors/build.md
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,40 +6,42 @@ Builds an app via the `dotnet` cli command.
6
6
7
7
## Options
8
8
9
-
### framework (string)
9
+
### framework
10
10
11
-
Compiles for a specific framework. The framework must be defined in the project file
11
+
- (string): Compiles for a specific framework. The framework must be defined in the project file
12
12
13
-
### version-suffix (number)
13
+
### version-suffix
14
14
15
-
Sets the value of the $(VersionSuffix) property to use when building the project. This only works if the $(Version) property isn't set. Then, $(Version) is set to the $(VersionPrefix) combined with the $(VersionSuffix), separated by a dash.
15
+
- (number): Sets the value of the $(VersionSuffix) property to use when building the project. This only works if the $(Version) property isn't set. Then, $(Version) is set to the $(VersionPrefix) combined with the $(VersionSuffix), separated by a dash.
Defines the build configuration. The default for most projects is Debug, but you can override the build configuration settings in your project
19
+
- (string): Defines the build configuration. The default for most projects is Debug, but you can override the build configuration settings in your project
20
20
21
-
### force (boolean)
21
+
### force
22
22
23
-
Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the project.assets.json file.
23
+
- (boolean): Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the project.assets.json file.
24
24
25
-
### no-dependencies (boolean)
25
+
### no-dependencies
26
26
27
-
Ignores project-to-project (P2P) references and only builds the specified root project.
27
+
- (boolean): Ignores project-to-project (P2P) references and only builds the specified root project.
28
28
29
-
### no-incremental (boolean)
29
+
### no-incremental
30
30
31
-
Marks the build as unsafe for incremental build. This flag turns off incremental compilation and forces a clean rebuild of the project's dependency graph.
31
+
- (boolean): Marks the build as unsafe for incremental build. This flag turns off incremental compilation and forces a clean rebuild of the project's dependency graph.
32
32
33
-
### no-restore (boolean)
33
+
### no-restore
34
34
35
-
Doesn't execute an implicit restore during build.
35
+
- (boolean): Doesn't execute an implicit restore during build.
36
36
37
-
### nologo (boolean)
37
+
### nologo
38
38
39
-
Doesn't display the startup banner or the copyright message. Available since .NET Core 3.0 SDK.
39
+
- (boolean): Doesn't display the startup banner or the copyright message. Available since .NET Core 3.0 SDK.
40
40
41
-
### output (string)
41
+
### output
42
42
43
-
Directory in which to place the built binaries. If not specified, the default path is ./bin/<configuration>/<framework>/. For projects with multiple target frameworks (via the TargetFrameworks property), you also need to define --framework when you specify this option.
43
+
- (string): Directory in which to place the built binaries. If not specified, the default path is ./bin/<configuration>/<framework>/. For projects with multiple target frameworks (via the TargetFrameworks property), you also need to define --framework when you specify this option.
Copy file name to clipboardExpand all lines: docs/core/executors/publish.md
+29-27Lines changed: 29 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,56 +6,58 @@ Publishes an app via the `dotnet` cli command.
6
6
7
7
## Options
8
8
9
-
### configuration (string)
9
+
### configuration
10
10
11
-
Defines the build configuration The default for most projects is Debug, but you can override the build configuration settings in your project.
11
+
- (string): Defines the build configuration The default for most projects is Debug, but you can override the build configuration settings in your project.
12
12
13
-
### framework (string)
13
+
### framework
14
14
15
-
Publishes the application for the specified target framework. You must specify the target framework in the project file.
15
+
- (string): Publishes the application for the specified target framework. You must specify the target framework in the project file.
16
16
17
-
### force (boolean)
17
+
### force
18
18
19
-
Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the project.assets.json file.
19
+
- (boolean): Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the project.assets.json file.
20
20
21
-
### noBuild (boolean)
21
+
### noBuild
22
22
23
-
Doesn't build the project before publishing. It also implicitly sets the --no-restore flag.
23
+
- (boolean): Doesn't build the project before publishing. It also implicitly sets the --no-restore flag.
24
24
25
-
### noDependencies (boolean)
25
+
### noDependencies
26
26
27
-
Ignores project-to-project references and only restores the root project.
27
+
- (boolean): Ignores project-to-project references and only restores the root project.
28
28
29
-
### nologo (boolean)
29
+
### nologo
30
30
31
-
Doesn't display the startup banner or the copyright message. Available since .NET Core 3.0 SDK.
31
+
- (boolean): Doesn't display the startup banner or the copyright message. Available since .NET Core 3.0 SDK.
32
32
33
-
### noRestore (boolean)
33
+
### noRestore
34
34
35
-
Doesn't execute an implicit restore when running the command.
35
+
- (boolean): Doesn't execute an implicit restore when running the command.
36
36
37
-
### output (string)
37
+
### output
38
38
39
-
Specifies the path for the output directory.
39
+
- (string): Specifies the path for the output directory.
40
40
41
-
### selfContained (boolean)
41
+
### selfContained
42
42
43
-
Publishes the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. Default is true if a runtime identifier is specified and the project is an executable project (not a library project).
43
+
- (boolean): Publishes the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. Default is true if a runtime identifier is specified and the project is an executable project (not a library project).
44
44
45
-
### runtime (string)
45
+
### runtime
46
46
47
-
Publishes the application for a given runtime.
47
+
- (string): Publishes the application for a given runtime.
48
48
49
-
### verbosity (string)
49
+
### verbosity
50
50
51
-
### versionSuffix (string)
51
+
-(string):
52
52
53
-
Defines the version suffix to replace the asterisk (\*) in the version field of the project file.
53
+
### versionSuffix
54
54
55
-
### publishProfile (string)
55
+
-(string): Defines the version suffix to replace the asterisk (\*) in the version field of the project file.
56
56
57
-
Specifies the name of the publish profile to use while publishing. Do not include the file path or the file extension. MSBuild by default looks in the Properties/PublishProfiles folder and assumes the pubxml file extension.
57
+
### publishProfile
58
58
59
-
### extraParameters (string)
59
+
-(string): Specifies the name of the publish profile to use while publishing. Do not include the file path or the file extension. MSBuild by default looks in the Properties/PublishProfiles folder and assumes the pubxml file extension.
60
60
61
-
Extra command-line arguments that are passed verbatim to the dotnet command.
61
+
### extraParameters
62
+
63
+
- (string): Extra command-line arguments that are passed verbatim to the dotnet command.
Copy file name to clipboardExpand all lines: docs/core/executors/serve.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,30 +6,30 @@ Uses `dotnet run` and chokidar to run a .NET app.
6
6
7
7
## Options
8
8
9
-
### configuration (string)
9
+
### configuration
10
10
11
-
Defines the build configuration. The default for most projects is Debug, but you can override the build configuration settings in your project.
11
+
- (string): Defines the build configuration. The default for most projects is Debug, but you can override the build configuration settings in your project.
12
12
13
-
### framework (string)
13
+
### framework
14
14
15
-
Builds and runs the app using the specified framework. The framework must be specified in the project file.
15
+
- (string): Builds and runs the app using the specified framework. The framework must be specified in the project file.
16
16
17
-
### force (boolean)
17
+
### force
18
18
19
-
Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the project.assets.json file.
19
+
- (boolean): Forces all dependencies to be resolved even if the last restore was successful. Specifying this flag is the same as deleting the project.assets.json file.
20
20
21
-
### launch-profile (string)
21
+
### launch-profile
22
22
23
-
The name of the launch profile (if any) to use when launching the application. Launch profiles are defined in the launchSettings.json file and are typically called Development, Staging, and Production. For more information, see Working with multiple environments.
23
+
- (string): The name of the launch profile (if any) to use when launching the application. Launch profiles are defined in the launchSettings.json file and are typically called Development, Staging, and Production. For more information, see Working with multiple environments.
24
24
25
-
### no-launch-profile (boolean)
25
+
### no-launch-profile
26
26
27
-
Doesn't try to use launchSettings.json to configure the application.
27
+
- (boolean): Doesn't try to use launchSettings.json to configure the application.
28
28
29
-
### runtime (string)
29
+
### runtime
30
30
31
-
Specifies the target runtime to restore packages for. For a list of Runtime Identifiers (RIDs), see the RID catalog. -r short option available since .NET Core 3.0 SDK.
31
+
- (string): Specifies the target runtime to restore packages for. For a list of Runtime Identifiers (RIDs), see the RID catalog. -r short option available since .NET Core 3.0 SDK.
32
32
33
-
### verbosity (string)
33
+
### verbosity
34
34
35
-
Sets the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. The default value is m. Available since .NET Core 2.1 SDK.
35
+
- (string): Sets the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. The default value is m. Available since .NET Core 2.1 SDK.
0 commit comments