Skip to content

Commit 362b7be

Browse files
authored
Remove deprecated <licenseUrl /> element (#315)
- remove `<requireLicenseAcceptance/>` as well - can't require a license w/o `<license/>` or `<licenseUrl/>` - also, don't need to ignore NU5125 anymore
1 parent ef4296e commit 362b7be

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

src/WebApiHelpPage/VB/WebApiHelpPage.VB.nuspec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<owners>Microsoft</owners>
99
<projectUrl>http://www.asp.net/web-api</projectUrl>
1010
<repository type="git" url="https://github.com/aspnet/AspNetWebStack"/>
11-
<requireLicenseAcceptance>true</requireLicenseAcceptance>
12-
<licenseUrl>http://www.microsoft.com/web/webpi/eula/mvc4extensions_prerelease_eula.htm</licenseUrl>
1311
<description>The ASP.NET Web API Help Page automatically generates help page content for the web APIs on your site. Visitors to your help page can use this content to learn how to call your web APIs. Everything generated by the help page is fully customizable using ASP.NET MVC and Razor. ASP.NET Web API Help Page is a great addition to any ASP.NET Web API project.</description>
1412
<summary>The ASP.NET Web API Help Page automatically generates help page content for the web APIs on your site.</summary>
1513
<dependencies>

src/WebApiHelpPage/VB/WebApiHelpPageVB.vbproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
<RunCodeAnalysis>$(CodeAnalysis)</RunCodeAnalysis>
1212
<CodeAnalysisRuleSet>..\..\Strict.ruleset</CodeAnalysisRuleSet>
1313
<MyType>Windows</MyType>
14-
<!-- Ignore warning about deprecated <licenseUrl> in the .nuspec. -->
15-
<NoWarn Condition=" '$(MSBuildRuntimeType)' == 'core' ">$(NoWarn);NU5125</NoWarn>
1614
</PropertyGroup>
1715
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1816
<DefineDebug>true</DefineDebug>

src/WebApiHelpPage/WebApiHelpPage.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
<CodeAnalysisRuleSet>..\Strict.ruleset</CodeAnalysisRuleSet>
1414
<DefineConstants>$(DefineConstants);ASPNETMVC</DefineConstants>
1515
<NoWarn>1591</NoWarn>
16-
<!-- Ignore warning about deprecated <licenseUrl> in the .nuspec. -->
17-
<NoWarn Condition=" '$(MSBuildRuntimeType)' == 'core' ">$(NoWarn);NU5125</NoWarn>
1816
</PropertyGroup>
1917
<ItemGroup>
2018
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">

src/WebApiHelpPage/WebApiHelpPage.nuspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<owners>Microsoft</owners>
99
<projectUrl>http://www.asp.net/web-api</projectUrl>
1010
<repository type="git" url="https://github.com/aspnet/AspNetWebStack"/>
11-
<requireLicenseAcceptance>true</requireLicenseAcceptance>
12-
<licenseUrl>http://www.microsoft.com/web/webpi/eula/mvc4extensions_prerelease_eula.htm</licenseUrl>
1311
<description>The ASP.NET Web API Help Page automatically generates help page content for the web APIs on your site. Visitors to your help page can use this content to learn how to call your web APIs. Everything generated by the help page is fully customizable using ASP.NET MVC and Razor. ASP.NET Web API Help Page is a great addition to any ASP.NET Web API project.</description>
1412
<summary>The ASP.NET Web API Help Page automatically generates help page content for the web APIs on your site.</summary>
1513
<dependencies>
@@ -22,7 +20,7 @@
2220
<frameworkAssembly assemblyName="System.ComponentModel.DataAnnotations" />
2321
</frameworkAssemblies>
2422
<language>en-US</language>
25-
<tags>Microsoft AspNet WebApi AspNetWebApi HelpPage</tags>
23+
<tags>Microsoft AspNet WebApi AspNetWebApi HelpPage</tags>
2624
</metadata>
2725
<files>
2826
<file src="Areas\HelpPage\App_Start\HelpPageConfig.cs.pp" target="content\Areas\HelpPage\App_Start\HelpPageConfig.cs.pp" />

0 commit comments

Comments
 (0)