Skip to content

Commit 7028721

Browse files
authored
Update msbuild-targets.md
1 parent 54baadf commit 7028721

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/reference/msbuild-targets.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ To suppress package dependencies from generated NuGet package, set `SuppressDepe
116116
> [!Important]
117117
> PackageIconUrl is deprecated. Use [PackageIcon](#packing-an-icon-image-file) instead.
118118
119-
As part of the change for [NuGet Issue 352](https://github.com/NuGet/Home/issues/352), `PackageIconUrl` will eventually be changed to `PackageIconUri` and can be relative path to a icon file which will included at the root of the resulting package.
120-
121119
### Packing an icon image file
122120

123121
When packing an icon image file, you need to use PackageIcon property to specify the package path, relative to the root of the package. In addition, you need to make sure that the file is included in the package. Image file size is limited to 1 MB. Supported file formats include JPEG and PNG. We recommend an image resolution of 64x64.
@@ -133,7 +131,7 @@ For example:
133131

134132
<ItemGroup>
135133
...
136-
<None Include="images\icon.png" Pack="true" PackagePath=""/>
134+
<None Include="images\icon.png" Pack="true" PackagePath="\"/>
137135
...
138136
</ItemGroup>
139137
```

0 commit comments

Comments
 (0)