Skip to content

Commit 19faf44

Browse files
author
Fernando Aguilar
committed
Merge branch 'karann-msft-icons' of github.com:NuGet/docs.microsoft.com-nuget into karann-msft-icons
2 parents 04f466d + f30f750 commit 19faf44

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

docs/reference/errors-and-warnings/NU5048.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,17 @@ For MSBuild project files, add an `<PackageIcon/>` property, as follows:
4343

4444
For nuspec files, add an `<icon/>` entry that points to the file that will be the package icon:
4545

46-
```xml
46+
```xml
4747
<package>
4848
<metadata>
49-
<id>sample.lib</id>
50-
<version>0.0.1</version>
51-
<authors>nuget</authors>
52-
<owners>nuget</owners>
53-
<license type="expression">MIT</license>
54-
<description>Package containing the icon file</description>
55-
<icon>icon.jpg</icon>
49+
...
50+
<icon>images\icon.png</icon>
51+
...
5652
</metadata>
5753
<files>
58-
<file src="icon.jpg" />
54+
...
55+
<file src="..\icon.png" target="images\" />
56+
...
5957
</files>
6058
</package>
6159
```

0 commit comments

Comments
 (0)