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
@@ -57,7 +57,7 @@ The application\[cq]s dependencies, which are copied from the NuGet cache into t
57
57
The \f[V]dotnet publish\f[R] command\[cq]s output is ready for deployment to a hosting system (for example, a server, PC, Mac, laptop) for execution.
58
58
It\[cq]s the only officially supported way to prepare the application for deployment.
59
59
Depending on the type of deployment that the project specifies, the hosting system may or may not have the .NET shared runtime installed on it.
60
-
For more information, see Publish .NET apps with the .NET CLI.
60
+
For more information, see .NET application publishing overview.
61
61
.SS Implicit restore
62
62
.PP
63
63
You don\[cq]t have to run \f[V]dotnet restore\f[R] because it\[cq]s run implicitly by all commands that require a restore to occur, such as \f[V]dotnet new\f[R], \f[V]dotnet build\f[R], \f[V]dotnet run\f[R], \f[V]dotnet test\f[R], \f[V]dotnet publish\f[R], and \f[V]dotnet pack\f[R].
@@ -346,7 +346,7 @@ Available since .NET 6.
346
346
.PP
347
347
Publishes the .NET runtime with your application so the runtime doesn\[cq]t need to be installed on the target machine.
348
348
Default is \f[V]true\f[R] if a runtime identifier is specified and the project is an executable project (not a library project).
349
-
For more information, see .NET application publishing and Publish .NET apps with the .NET CLI.
349
+
For more information, see Self-contained deployment.
350
350
.PP
351
351
If this option is used without specifying \f[V]true\f[R] or \f[V]false\f[R], the default is \f[V]true\f[R].
352
352
In that case, don\[cq]t put the solution or project argument immediately after \f[V]--self-contained\f[R], because \f[V]true\f[R] or \f[V]false\f[R] is expected in that position.
@@ -369,7 +369,7 @@ The URI of the NuGet package source to use during the restore operation.
369
369
.PP
370
370
Publishes the application for a given runtime.
371
371
For a list of Runtime Identifiers (RIDs), see the RID catalog.
372
-
For more information, see .NET application publishing and Publish .NET apps with the .NET CLI.
372
+
For more information, see .NET application publishing overview.
373
373
If you use this option, use \f[V]--self-contained\f[R] or \f[V]--no-self-contained\f[R] also.
@@ -736,7 +736,6 @@ Passing runsettings arguments through commandline (https://github.com/microsoft/
736
736
dotnet test
737
737
[--project <PROJECT_PATH>]
738
738
[--solution <SOLUTION_PATH>]
739
-
[--directory <DIRECTORY_PATH>]
740
739
[--test-modules <EXPRESSION>]
741
740
[--root-directory <ROOT_PATH>]
742
741
[--max-parallel-test-modules <NUMBER>]
@@ -780,7 +779,7 @@ For information about how to manage NuGet feeds, see the \f[V]dotnet restore\f[R
780
779
.SH OPTIONS
781
780
.RS
782
781
.PP
783
-
You can use only one of the following options at a time: \f[V]--project\f[R], \f[V]--solution\f[R], \f[V]--directory\f[R], or \f[V]--test-modules\f[R].
782
+
You can use only one of the following options at a time: \f[V]--project\f[R], \f[V]--solution\f[R], or \f[V]--test-modules\f[R].
784
783
These options can\[cq]t be combined.
785
784
In addition, when using \f[V]--test-modules\f[R], you can\[cq]t specify \f[V]--arch\f[R], \f[V]--configuration\f[R], \f[V]--framework\f[R], \f[V]--os\f[R], or \f[V]--runtime\f[R].
786
785
These options are not relevant for an already-built module.
@@ -789,19 +788,15 @@ These options are not relevant for an already-built module.
789
788
\f[B]\f[VB]--project <PROJECT_PATH>\f[B]\f[R]
790
789
.RS2
791
790
.PP
792
-
Specifies the path to the test project.
791
+
Specifies the path of the project file to run (folder name or full path).
792
+
If not specified, it defaults to the current directory.
793
793
.RE
794
794
.IP\[bu]2
795
795
\f[B]\f[VB]--solution <SOLUTION_PATH>\f[B]\f[R]
796
796
.RS2
797
797
.PP
798
-
Specifies the path to the solution.
799
-
.RE
800
-
.IP\[bu]2
801
-
\f[B]\f[VB]--directory <DIRECTORY_PATH>\f[B]\f[R]
802
-
.RS2
803
-
.PP
804
-
Specifies the path to a directory that contains a project or a solution.
798
+
Specifies the path of the solution file to run (folder name or full path).
799
+
If not specified, it defaults to the current directory.
805
800
.RE
806
801
.IP\[bu]2
807
802
\f[B]\f[VB]--test-modules <EXPRESSION>\f[B]\f[R]
@@ -993,16 +988,6 @@ dotnet test --solution ./TestProjects/TestProjects.sln
993
988
.fi
994
989
.RE
995
990
.IP\[bu]2
996
-
Run the tests in a solution or project that can be found in the \f[V]TestProjects\f[R] directory:
997
-
.RS2
998
-
.IP
999
-
.nf
1000
-
\f[C]
1001
-
dotnet test --directory ./TestProjects
1002
-
\f[R]
1003
-
.fi
1004
-
.RE
1005
-
.IP\[bu]2
1006
991
Run the tests using \f[V]TestProject.dll\f[R] assembly:
0 commit comments