Skip to content

Commit be0c8c2

Browse files
authored
Update msbuild-targets.md
1 parent 84a26fa commit be0c8c2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/reference/msbuild-targets.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ When packing a license file, you need to use PackageLicenseFile property to spec
221221

222222
### Packing an icon image file
223223

224-
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. For example:
224+
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 resoulution of 64x64.
225+
226+
For example:
225227

226228
```xml
227229
<PropertyGroup>
@@ -232,6 +234,9 @@ When packing an icon image file, you need to use PackageIcon property to specify
232234
<None Include="images\icon.png" Pack="true" PackagePath=""/>
233235
</ItemGroup>
234236
```
237+
238+
239+
235240
[Package Icon sample](https://github.com/NuGet/Samples/tree/master/PackageIconExample).
236241

237242
### IsTool

0 commit comments

Comments
 (0)