Skip to content

Commit c10e168

Browse files
authored
Update .NET tool nuspec properties (#567)
Update nuspec Properties to avoid warnings: NU5125: The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead. NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn The package <> is missing a readme. Go to https://aka.ms/nuget/authoring-best-practices/readme to learn why package readmes are important.
1 parent e2d7792 commit c10e168

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CredentialProvider.Microsoft/Microsoft.Artifacts.CredentialProvider.NuGet.Tool.nuspec

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,22 @@
77
<authors>Microsoft</authors>
88
<owners>microsoft,nugetvss</owners>
99
<description>The Microsoft Credential Provider tool enables the .NET CLI to authenticate with Azure Artifacts feeds. Use this tool to seamlessly restore and publish packages from secured feeds. For more information, see: http://docs.nuget.org/Consume/Credential-Providers</description>
10-
<licenseUrl>http://go.microsoft.com/fwlink/?LinkId=329770</licenseUrl>
10+
<license type="expression">MIT</license>
1111
<projectUrl>http://go.microsoft.com/fwlink/?LinkId=623217</projectUrl>
12-
<iconUrl>http://go.microsoft.com/fwlink/?LinkId=615568</iconUrl>
12+
<icon>nupkg-icon.png</icon>
1313
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1414
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
1515
<tags>Microsoft Visual Studio Team Services VSTS VSO VisualStudio Package Management NuGet</tags>
1616
<packageTypes>
1717
<packageType name="DotnetTool" />
1818
</packageTypes>
19-
19+
<readme>..\README.md</readme>
2020
</metadata>
2121
<files>
22+
<file src="nupkg-icon.png" target="\" />
23+
<file src="..\README.md" target="\" />
2224
<file src="ThirdPartyNotices.txt" target="\" />
2325
<file src="EULA_Microsoft Visual Studio Team Services Credential Provider.docx" target="\" />
24-
<file src="bin\$Configuration$\net8.0\publish\**\*.*" target="tools\net8.0\any" />
26+
<file src="bin\$Configuration$\net8.0\**\*.*" target="tools\net8.0\any" />
2527
</files>
2628
</package>
1.48 KB
Loading

0 commit comments

Comments
 (0)