Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# ASP.NET MVC 4 Web API XmlDocumentationProvider error

When working with a Web API template in an ASP.NET MVC 4 project, trying to compile I get this error:

'Solution.Web.Api.Areas.HelpPage.XmlDocumentationProvider' does not implement interface member 'System.Web.Http.Description.IDocumentationProvider.GetResponseDocumentation (System.Web.Http.Controllers.HttpActionDescriptor)'

It seems the class doesn't implement all interface methods. However, I didn't create any code yet or apply any code change to the default project.

Would you know what is causing this problem?

like image 822
Alberto Montellano Avatar asked Apr 25 '14 17:04

Alberto Montellano


1 Answers

Mark's answer to update the Web API Help Page worked for me. Here are the commands I ran to make it happen:

In Visual Studio 2013:

  • TOOLS -> Library Package Manager -> Package Manager Console
  • Paste the following into the Package Manager Console:

Update-Package Microsoft.AspNet.WebApi.HelpPage

  • Hit Enter, cross fingers, and post alternative solutions if you find them!
like image 137
piercebot Avatar answered Sep 22 '22 15:09

piercebot