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/reference/msbuild-targets.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Note that the `Owners` and `Summary` properties from `.nuspec` are not supported
58
58
| LicenseUrl | PackageLicenseUrl | empty |`PackageLicenseUrl` is deprecated, use the PackageLicenseExpression or PackageLicenseFile property |
59
59
| ProjectUrl | PackageProjectUrl | empty ||
60
60
| Icon | PackageIcon | empty | You need to explicitly pack the referenced icon image file.|
61
-
| IconUrl | PackageIconUrl | empty |For the best downlevel experience, `PackageIconUrl`should be specified in addition to`PackageIcon`. Longer term, `PackageIconUrl`will be deprecated. |
61
+
| IconUrl | PackageIconUrl | empty |`PackageIconUrl`is deprecated in favor of`PackageIcon`. However, for the best downlevel experience, you should specify `PackageIconUrl`in addition to `PackageIcon`. |
| Repository/Url | RepositoryUrl | empty | Repository URL used to clone or retrieve source code. Example: *https://github.com/NuGet/NuGet.Client.git*|
@@ -113,14 +113,12 @@ To suppress package dependencies from generated NuGet package, set `SuppressDepe
113
113
114
114
### PackageIconUrl
115
115
116
-
`PackageIconUrl` will be deprecated in favor of the new [`PackageIcon`](#packageicon) property.
117
-
118
-
Starting with NuGet 5.3 & Visual Studio 2019 version 16.3, `pack` will raise [NU5048](./errors-and-warnings/nu5048.md) warning if the package metadata only specifies `PackageIconUrl`.
116
+
`PackageIconUrl` is deprecated in favor of the [`PackageIcon`](#packageicon) property. Starting with NuGet 5.3 and Visual Studio 2019 version 16.3, `pack` raises the [NU5048](./errors-and-warnings/nu5048.md) warning if the package metadata only specifies `PackageIconUrl`.
119
117
120
118
### PackageIcon
121
119
122
120
> [!Tip]
123
-
> You should specify both `PackageIcon` and `PackageIconUrl` to maintain backward compatibility with clients and sources that do not yet support `PackageIcon`. Visual Studio will support `PackageIcon` for packages coming from a folder-based source in a future release.
121
+
> To maintain backward compatibility with clients and sources that don't yet support `PackageIcon`, specify both `PackageIcon` and `PackageIconUrl`. Visual Studio supports `PackageIcon` for packages coming from a folder-based source.
0 commit comments