Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit 69860ed

Browse files
0xcedSeanFeldman
authored andcommitted
Fix "The 'licenseUrl' element will be deprecated" error (#666)
When generating the package, the NuGet task emits this warning: > The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead. Since `TreatWarningsAsErrors` is set to true in Directory.Build.props it becomes an error. So we simply ignore this warning since we can't use 'license' instead of 'licenseUrl' yet. See also NuGet/Home#7509 and NuGet/Announcements#32
1 parent 8f61919 commit 69860ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Azure.ServiceBus/Microsoft.Azure.ServiceBus.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
2424
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
2525
<GenerateDocumentationFile>true</GenerateDocumentationFile>
26-
<NoWarn>CS1591;CS1573</NoWarn>
26+
<NoWarn>CS1591;CS1573;NU5125</NoWarn>
2727
</PropertyGroup>
2828

2929
<ItemGroup>

0 commit comments

Comments
 (0)