我在 NuGet 控制台中执行此操作以试用 Web Api 帮助包:Install-Package Microsoft.AspNet.WebApi.HelpPage
现在,每次我创建 MVC Web Api 项目时,我都会得到 Areas\HelpPage。
我试过了:
PM> Uninstall-Package Microsoft.AspNet.WebApi.HelpPage
Skipping 'Areas\HelpPage\Views\_ViewStart.cshtml' because it was modified.
Skipping 'Areas\HelpPage\Views\_ViewStart.cshtml' because it was modified.
Skipping 'Areas\HelpPage\Views\_ViewStart.cshtml' because it was modified.
Skipping 'Areas\HelpPage\Views\_ViewStart.cshtml' because it was modified.
Successfully removed 'Microsoft.AspNet.WebApi.HelpPage 4.0.0' from MvcApplication16.
Successfully uninstalled 'Microsoft.AspNet.WebApi.HelpPage 4.0.0'.
PM>
我决定不使用 HelpPage 包。
如何使该 HelpPage 及其区域消失并且不在我创建的每个项目中?