Skip to content

Commit c2811c1

Browse files
authored
[automated] Update man pages (#50568)
2 parents 1692f5f + f4a204a commit c2811c1

File tree

8 files changed

+80
-49
lines changed

8 files changed

+80
-49
lines changed

documentation/manpages/sdk/dotnet-nuget-locals.1

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
. ftr VB CB
1515
. ftr VBI CBI
1616
.\}
17-
.TH "dotnet-nuget-locals" "1" "2025-06-13" "" ".NET Documentation"
17+
.TH "dotnet-nuget-locals" "1" "2025-08-29" "" ".NET Documentation"
1818
.hy
1919
.SH dotnet nuget locals
2020
.PP
@@ -42,7 +42,7 @@ The \f[V]dotnet nuget locals\f[R] command clears or lists local NuGet resources
4242
The cache location to list or clear.
4343
It accepts one of the following values:
4444
.IP \[bu] 2
45-
\f[V]all\f[R] - Indicates that the specified operation is applied to all cache types: http-request cache, global packages cache, and the temporary cache.
45+
\f[V]all\f[R] - Indicates that the specified operation is applied to all cache types: http-request cache, global packages cache, temporary cache, and plugins cache.
4646
.IP \[bu] 2
4747
\f[V]http-cache\f[R] - Indicates that the specified operation is applied only to the http-request cache.
4848
The other cache locations aren\[cq]t affected.
@@ -52,6 +52,9 @@ The other cache locations aren\[cq]t affected.
5252
.IP \[bu] 2
5353
\f[V]temp\f[R] - Indicates that the specified operation is applied only to the temporary cache.
5454
The other cache locations aren\[cq]t affected.
55+
.IP \[bu] 2
56+
\f[V]plugins-cache\f[R] - Indicates that the specified operation is applied only to the plugins cache.
57+
The other cache locations aren\[cq]t affected.
5558
.RE
5659
.SH OPTIONS
5760
.IP \[bu] 2
@@ -83,7 +86,7 @@ The list option is used to display the location of the specified cache type.
8386
.RE
8487
.SH EXAMPLES
8588
.IP \[bu] 2
86-
Displays the paths of all the local cache directories (http-cache directory, global-packages cache directory, and temporary cache directory):
89+
Displays the paths of all the local cache directories (http-cache directory, global-packages cache directory, temporary cache directory, and plugins cache directory):
8790
.RS 2
8891
.IP
8992
.nf
@@ -103,7 +106,17 @@ dotnet nuget locals http-cache --list
103106
.fi
104107
.RE
105108
.IP \[bu] 2
106-
Clears all files from all local cache directories (http-cache directory, global-packages cache directory, and temporary cache directory):
109+
Displays the path for the local plugins cache directory:
110+
.RS 2
111+
.IP
112+
.nf
113+
\f[C]
114+
dotnet nuget locals plugins-cache --list
115+
\f[R]
116+
.fi
117+
.RE
118+
.IP \[bu] 2
119+
Clears all files from all local cache directories (http-cache directory, global-packages cache directory, temporary cache directory, and plugins cache directory):
107120
.RS 2
108121
.IP
109122
.nf
@@ -132,6 +145,16 @@ dotnet nuget locals temp -c
132145
\f[R]
133146
.fi
134147
.RE
148+
.IP \[bu] 2
149+
Clears all files in local plugins cache directory:
150+
.RS 2
151+
.IP
152+
.nf
153+
\f[C]
154+
dotnet nuget locals plugins-cache -c
155+
\f[R]
156+
.fi
157+
.RE
135158
.SS Troubleshooting
136159
.PP
137160
For information on common problems and errors while using the \f[V]dotnet nuget locals\f[R] command, see Managing the NuGet cache.

documentation/manpages/sdk/dotnet-nuget-push.1

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
. ftr VB CB
1515
. ftr VBI CBI
1616
.\}
17-
.TH "dotnet-nuget-push" "1" "2025-06-13" "" ".NET Documentation"
17+
.TH "dotnet-nuget-push" "1" "2025-08-29" "" ".NET Documentation"
1818
.hy
1919
.SH dotnet nuget push
2020
.PP
@@ -26,7 +26,7 @@ dotnet-nuget-push - Pushes a package to the server and publishes it.
2626
.IP
2727
.nf
2828
\f[C]
29-
dotnet nuget push [<ROOT>] [-d|--disable-buffering] [--force-english-output]
29+
dotnet nuget push [<ROOT>] [--allow-insecure-connections] [-d|--disable-buffering] [--force-english-output]
3030
[--interactive] [-k|--api-key <API_KEY>] [-n|--no-symbols]
3131
[--no-service-endpoint] [-s|--source <SOURCE>] [--skip-duplicate]
3232
[-sk|--symbol-api-key <API_KEY>] [-ss|--symbol-source <SOURCE>]
@@ -73,6 +73,12 @@ Specifies the file path to the package to be pushed.
7373
.RE
7474
.SH OPTIONS
7575
.IP \[bu] 2
76+
\f[B]\f[VB]--allow-insecure-connections\f[B]\f[R]
77+
.RS 2
78+
.PP
79+
Allows pushing to HTTP sources (insecure).
80+
.RE
81+
.IP \[bu] 2
7682
\f[B]\f[VB]-d|--disable-buffering\f[B]\f[R]
7783
.RS 2
7884
.PP

documentation/manpages/sdk/dotnet-nuget-sign.1

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
. ftr VB CB
1515
. ftr VBI CBI
1616
.\}
17-
.TH "dotnet-nuget-sign" "1" "2025-06-13" "" ".NET Documentation"
17+
.TH "dotnet-nuget-sign" "1" "2025-08-29" "" ".NET Documentation"
1818
.hy
1919
.SH dotnet nuget sign
2020
.PP
@@ -49,8 +49,8 @@ The \f[V]dotnet nuget sign\f[R] command signs all the packages matching the firs
4949
The certificate with the private key can be obtained from a file or from a certificate installed in a certificate store by providing a subject name or a SHA-1 fingerprint.
5050
.RS
5151
.PP
52-
This command requires a certificate root store that is valid for both code signing and timestamping.
53-
Also, this command may not be supported on some combinations of operating system and .NET SDK.
52+
This command requires a certificate root store that\[cq]s valid for both code signing and timestamping.
53+
Also, this command might not be supported on some combinations of operating system and .NET SDK.
5454
For more information, see NuGet signed package verification.
5555
.RE
5656
.SH ARGUMENTS
@@ -108,9 +108,11 @@ If there are multiple matching certificates in the result, or no matching certif
108108
Specifies the fingerprint of the certificate used to search a local certificate store for the certificate.
109109
.PP
110110
Starting with .NET 9, this option can be used to specify the SHA-1, SHA-256, SHA-384, or SHA-512 fingerprint of the certificate.
111-
However, a \f[V]NU3043\f[R] warning is raised when a SHA-1 certificate fingerprint is used because it is no longer considered secure.
111+
However, a \f[V]NU3043\f[R] warning is raised when a SHA-1 certificate fingerprint is used because it\[cq]s no longer considered secure.
112+
In .NET 10 and later versions, the warning is elevated to an error.
113+
Only SHA-2 family fingerprints (SHA-256, SHA-384, and SHA-512) are supported.
112114
.PP
113-
All the previous versions of the .NET SDK continue to accept only SHA-1 certificate fingerprint.
115+
All pre-.NET 9 versions of the .NET SDK continue to accept only SHA-1 certificate fingerprint.
114116
.RE
115117
.IP \[bu] 2
116118
\f[B]\f[VB]--certificate-password <PASSWORD>\f[B]\f[R]
@@ -196,12 +198,12 @@ dotnet nuget sign foo.nupkg --certificate-path cert.pfx --certificate-password p
196198
.fi
197199
.RE
198200
.IP \[bu] 2
199-
Sign \f[I]foo.nupkg\f[R] with certificate (password protected) matches with the specified SHA-1 fingerprint in the default certificate store (CurrentUser):
201+
Sign \f[I]foo.nupkg\f[R] with certificate (password protected) matches with the specified SHA-256 fingerprint in the default certificate store (CurrentUser):
200202
.RS 2
201203
.IP
202204
.nf
203205
\f[C]
204-
dotnet nuget sign foo.nupkg --certificate-fingerprint 89967D1DD995010B6C66AE24FF8E66885E6E03A8 --certificate-password password
206+
dotnet nuget sign foo.nupkg --certificate-fingerprint B2C40F2F8775D7B7EBEB76BD5A9D3A4BC3F4B8A4D8D7C5F8A4C6B3E7A9E2D5F1 --certificate-password password
205207
\f[R]
206208
.fi
207209
.RE
@@ -216,12 +218,12 @@ dotnet nuget sign foo.nupkg --certificate-subject-name \[dq]Test certificate for
216218
.fi
217219
.RE
218220
.IP \[bu] 2
219-
Sign \f[I]foo.nupkg\f[R] with certificate (password protected) matches with the specified SHA-1 fingerprint in the certificate store CurrentUser:
221+
Sign \f[I]foo.nupkg\f[R] with certificate (password protected) matches with the specified SHA-256 fingerprint in the certificate store CurrentUser:
220222
.RS 2
221223
.IP
222224
.nf
223225
\f[C]
224-
dotnet nuget sign foo.nupkg --certificate-fingerprint 89967D1DD995010B6C66AE24FF8E66885E6E03A8 --certificate-password password --certificate-store-location CurrentUser --certificate-store-name Root
226+
dotnet nuget sign foo.nupkg --certificate-fingerprint B2C40F2F8775D7B7EBEB76BD5A9D3A4BC3F4B8A4D8D7C5F8A4C6B3E7A9E2D5F1 --certificate-password password --certificate-store-location CurrentUser --certificate-store-name Root
225227
\f[R]
226228
.fi
227229
.RE

documentation/manpages/sdk/dotnet-publish.1

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
. ftr VB CB
1515
. ftr VBI CBI
1616
.\}
17-
.TH "dotnet-publish" "1" "2025-06-13" "" ".NET Documentation"
17+
.TH "dotnet-publish" "1" "2025-08-29" "" ".NET Documentation"
1818
.hy
1919
.SH dotnet publish
2020
.PP
@@ -57,7 +57,7 @@ The application\[cq]s dependencies, which are copied from the NuGet cache into t
5757
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.
5858
It\[cq]s the only officially supported way to prepare the application for deployment.
5959
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.
6161
.SS Implicit restore
6262
.PP
6363
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.
346346
.PP
347347
Publishes the .NET runtime with your application so the runtime doesn\[cq]t need to be installed on the target machine.
348348
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.
350350
.PP
351351
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].
352352
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.
369369
.PP
370370
Publishes the application for a given runtime.
371371
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.
373373
If you use this option, use \f[V]--self-contained\f[R] or \f[V]--no-self-contained\f[R] also.
374374
.RE
375375
.IP \[bu] 2
@@ -495,8 +495,6 @@ dotnet publish --no-dependencies
495495
.IP \[bu] 2
496496
\&.NET application publishing overview
497497
.IP \[bu] 2
498-
Publish .NET apps with the .NET CLI
499-
.IP \[bu] 2
500498
Target frameworks
501499
.IP \[bu] 2
502500
Runtime Identifier (RID) catalog

documentation/manpages/sdk/dotnet-reference-remove.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
. ftr VB CB
1515
. ftr VBI CBI
1616
.\}
17-
.TH "dotnet-reference-remove" "1" "2025-06-13" "" ".NET Documentation"
17+
.TH "dotnet-reference-remove" "1" "2025-08-29" "" ".NET Documentation"
1818
.hy
1919
.SH dotnet reference remove
2020
.PP
@@ -24,7 +24,7 @@
2424
dotnet-reference-remove - Removes project-to-project (P2P) references.
2525
.RS
2626
.PP
27-
If you\[cq]re using .NET 9 SDK or earlier, use the \[lq]verb first\[rq] form (dotnet-reference-remove) instead.
27+
If you\[cq]re using .NET 9 SDK or earlier, use the \[lq]verb first\[rq] form (dotnet-remove-reference) instead.
2828
The \[lq]noun first\[rq] form was introduced in .NET 10.
2929
For more information, see More consistent command order.
3030
.RE

documentation/manpages/sdk/dotnet-sln.1

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
. ftr VB CB
1515
. ftr VBI CBI
1616
.\}
17-
.TH "dotnet-sln" "1" "2025-06-13" "" ".NET Documentation"
17+
.TH "dotnet-sln" "1" "2025-08-29" "" ".NET Documentation"
1818
.hy
1919
.SH dotnet sln
2020
.PP
@@ -39,29 +39,33 @@ The \f[V]dotnet sln\f[R] command provides a convenient way to list and modify pr
3939
To use the \f[V]dotnet sln\f[R] command, the solution file must already exist.
4040
If you need to create one, use the dotnet new command with the \f[V]sln\f[R] template name.
4141
.PP
42-
The following example creates a \f[I].sln\f[R] file in the current folder, with the same name as the folder:
42+
The following example creates an \f[I].slnx\f[R] file in the current folder, with the same name as the folder:
4343
.IP
4444
.nf
4545
\f[C]
4646
dotnet new sln
4747
\f[R]
4848
.fi
4949
.PP
50-
The following example creates a \f[I].sln\f[R] file in the current folder, with the specified file name:
50+
The following example creates an \f[I].slnx\f[R] file in the current folder, with the specified file name:
5151
.IP
5252
.nf
5353
\f[C]
5454
dotnet new sln --name MySolution
5555
\f[R]
5656
.fi
5757
.PP
58-
The following example creates a \f[I].sln\f[R] file in the specified folder, with the same name as the folder:
58+
The following example creates an \f[I].slnx\f[R] file in the specified folder, with the same name as the folder:
5959
.IP
6060
.nf
6161
\f[C]
6262
dotnet new sln --output MySolution
6363
\f[R]
6464
.fi
65+
.RS
66+
.PP
67+
In .NET 9 and earlier versions, \f[V]dotnet new sln\f[R] creates an \f[I].sln\f[R] file instead of an \f[I].slnx\f[R] file.
68+
.RE
6569
.SH ARGUMENTS
6670
.IP \[bu] 2
6771
\f[B]\f[VB]SOLUTION_FILE\f[B]\f[R]

documentation/manpages/sdk/dotnet-test.1

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
. ftr VB CB
1616
. ftr VBI CBI
1717
.\}
18-
.TH "dotnet-test" "1" "2025-06-13" "" ".NET Documentation"
18+
.TH "dotnet-test" "1" "2025-08-29" "" ".NET Documentation"
1919
.hy
2020
.SH dotnet test
2121
.SH NAME
@@ -736,7 +736,6 @@ Passing runsettings arguments through commandline (https://github.com/microsoft/
736736
dotnet test
737737
[--project <PROJECT_PATH>]
738738
[--solution <SOLUTION_PATH>]
739-
[--directory <DIRECTORY_PATH>]
740739
[--test-modules <EXPRESSION>]
741740
[--root-directory <ROOT_PATH>]
742741
[--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
780779
.SH OPTIONS
781780
.RS
782781
.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].
784783
These options can\[cq]t be combined.
785784
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].
786785
These options are not relevant for an already-built module.
@@ -789,19 +788,15 @@ These options are not relevant for an already-built module.
789788
\f[B]\f[VB]--project <PROJECT_PATH>\f[B]\f[R]
790789
.RS 2
791790
.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.
793793
.RE
794794
.IP \[bu] 2
795795
\f[B]\f[VB]--solution <SOLUTION_PATH>\f[B]\f[R]
796796
.RS 2
797797
.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-
.RS 2
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.
805800
.RE
806801
.IP \[bu] 2
807802
\f[B]\f[VB]--test-modules <EXPRESSION>\f[B]\f[R]
@@ -993,16 +988,6 @@ dotnet test --solution ./TestProjects/TestProjects.sln
993988
.fi
994989
.RE
995990
.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-
.RS 2
998-
.IP
999-
.nf
1000-
\f[C]
1001-
dotnet test --directory ./TestProjects
1002-
\f[R]
1003-
.fi
1004-
.RE
1005-
.IP \[bu] 2
1006991
Run the tests using \f[V]TestProject.dll\f[R] assembly:
1007992
.RS 2
1008993
.IP

documentation/manpages/sdk/dotnet-tool-install.1

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
. ftr VB CB
1616
. ftr VBI CBI
1717
.\}
18-
.TH "dotnet-tool-install" "1" "2025-07-30" "" ".NET Documentation"
18+
.TH "dotnet-tool-install" "1" "2025-08-29" "" ".NET Documentation"
1919
.hy
2020
.SH dotnet tool install
2121
.PP
@@ -65,6 +65,11 @@ To install a global tool in the default location, use the \f[V]--global\f[R] opt
6565
To install a global tool in a custom location, use the \f[V]--tool-path\f[R] option.
6666
.IP \[bu] 2
6767
To install a local tool, omit the \f[V]--global\f[R] and \f[V]--tool-path\f[R] options.
68+
.RS
69+
.PP
70+
[!WARNING] Make sure the directory you specify with the \f[V]--tool-path\f[R] option is secure.
71+
Tools installed in this location can be executed directly, so using an untrusted or shared path might introduce security risks.
72+
.RE
6873
.SS Installation locations
6974
.SS Global tools
7075
.PP
@@ -187,6 +192,14 @@ If one is found, create the manifest in that directory.
187192
If neither of the previous two steps finds a directory, create the manifest in the current working directory.
188193
.PP
189194
For more information on how manifests are located, see Install a local tool.
195+
.PP
196+
Starting in .NET 10, this flag is applied automatically if no tools manifest is found.
197+
.RS
198+
.PP
199+
[!WARNING] Don\[cq]t run tool commands from the \f[B]Downloads\f[R] folder or any shared location.
200+
The CLI walks up the directory tree to find a tool manifest, which might cause it to use a manifest you don\[cq]t expect.
201+
Always run tool commands from a trusted, project-specific directory.
202+
.RE
190203
.RE
191204
.IP \[bu] 2
192205
\f[B]\f[VB]--disable-parallel\f[B]\f[R]

0 commit comments

Comments
 (0)