Web API project fails to load in Visual Studio 2019 - error: 'The method or operation is not implemented'

[亡魂溺海] 提交于 2020-01-06 05:39:08

问题


I have a ASP.Net Web API project that is failing to load in Visual Studio 2019. When I try to reload the project from the Solution Explorer I get the error:

The method or operation is not implemented

Any ideas what might be causing this?


回答1:


A bit of a cryptic error message - the actual problem preventing the project from loading was:

In the csproj file for the project, section, I had

<UseIIS>true</UseIIS>

and IISUrl pointing to a local site that was not yet set up on IIS, e.g.

<IISUrl>http://localhost:12321</IISUrl>

where there was no site bound to localhost:12321



来源:https://stackoverflow.com/questions/56968784/web-api-project-fails-to-load-in-visual-studio-2019-error-the-method-or-oper

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!