asp.net - Error when upgrading to WebAPI 2.1 XmlDocumentationProvider does not implement interface member GetDocumentation -
i'm following tutorial here:
http://www.asp.net/web-api/overview/releases/whats-new-in-aspnet-web-api-21#download
i created mvc web api project in visual studio 2012 (.net framework 4.5), , ran command in nuget package manager console install-package microsoft.aspnet.webapi
when tried build project, error:
'commonservices.areas.helppage.xmldocumentationprovider' not implement interface member 'system.web.http.description.idocumentationprovider.getdocumentation(system.web.http.controllers.httpcontrollerdescriptor)' c:\users\administrator\documents\visual studio 2012\projects\commonservices\commonservices\areas\helppage\xmldocumentationprovider.cs 'commonservices.areas.helppage.xmldocumentationprovider' not implement interface member 'system.web.http.description.idocumentationprovider.getresponsedocumentation(system.web.http.controllers.httpactiondescriptor)' c:\users\administrator\documents\visual studio 2012\projects\commonservices\commonservices\areas\helppage\xmldocumentationprovider.cs
is there missed?
i got same problem when getting microsoft.aspnet.webapi.
at nuget package manager console write this:
update-package -projectname 'yourprojectnamegoeshere' -reinstall
this update packages , solve problem.i hope helps
Comments
Post a Comment