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
body: `This PR is targeting \`main\`, which is now for .NET 11-facing work. If you intended to target .NET 10, either retarget this PR to \`release/10.0.1xx\` or make sure you backport the change to \`release/10.0.1xx\` after merging. See https://github.com/dotnet/sdk/issues/50394 for more details.`
Copy file name to clipboardExpand all lines: Directory.Build.props
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
2
1
<!-- Platform needs to be set with TreatAsLocalProperty since it is a global property and cannot be overridden otherwise. -->
Copy file name to clipboardExpand all lines: Directory.Build.targets
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
-
<?xml version="1.0" encoding="utf-8"?>
2
-
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
3
1
<Project>
2
+
4
3
<PropertyGroup>
5
4
<!--
6
5
Disable nullable warnings when targeting anything other than our supported .NET core version(s).
@@ -88,7 +87,7 @@
88
87
<PackageDescription>
89
88
$(PackageDescription)
90
89
91
-
The source code included in this package is subject to arbitrary changes in future versions.
90
+
The source code included in this package is subject to arbitrary changes in future versions.
92
91
Updating a reference to this package to a newer version of the package may require changes in the referencing project.
93
92
No compatibility guarantees are provided.
94
93
</PackageDescription>
@@ -97,14 +96,15 @@
97
96
<!-- Include SourcePackage.editorconfig in all source packages. -->
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
3
1
<Project>
4
-
<TargetName="Test"DependsOnTargets="TestAsTool"
5
-
Condition="'$(IsUnitTestProject)' == 'true' or '$(IsPerformanceTestProject)' == 'true'"/>
2
+
3
+
<TargetName="Test"
4
+
DependsOnTargets="TestAsTool"
5
+
Condition="'$(IsUnitTestProject)' == 'true' or '$(IsPerformanceTestProject)' == 'true'" />
@@ -42,7 +42,7 @@ The \f[V]dotnet nuget locals\f[R] command clears or lists local NuGet resources
42
42
The cache location to list or clear.
43
43
It accepts one of the following values:
44
44
.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.
46
46
.IP\[bu]2
47
47
\f[V]http-cache\f[R] - Indicates that the specified operation is applied only to the http-request cache.
48
48
The other cache locations aren\[cq]t affected.
@@ -52,6 +52,9 @@ The other cache locations aren\[cq]t affected.
52
52
.IP\[bu]2
53
53
\f[V]temp\f[R] - Indicates that the specified operation is applied only to the temporary cache.
54
54
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.
55
58
.RE
56
59
.SH OPTIONS
57
60
.IP\[bu]2
@@ -83,7 +86,7 @@ The list option is used to display the location of the specified cache type.
83
86
.RE
84
87
.SH EXAMPLES
85
88
.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):
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
+
.RS2
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):
107
120
.RS2
108
121
.IP
109
122
.nf
@@ -132,6 +145,16 @@ dotnet nuget locals temp -c
132
145
\f[R]
133
146
.fi
134
147
.RE
148
+
.IP\[bu]2
149
+
Clears all files in local plugins cache directory:
150
+
.RS2
151
+
.IP
152
+
.nf
153
+
\f[C]
154
+
dotnet nuget locals plugins-cache -c
155
+
\f[R]
156
+
.fi
157
+
.RE
135
158
.SS Troubleshooting
136
159
.PP
137
160
For information on common problems and errors while using the \f[V]dotnet nuget locals\f[R] command, see Managing the NuGet cache.
0 commit comments