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

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

我有一个 ASP.Net Web API 项目无法在 Visual Studio 2019 中加载。当我尝试从解决方案资源管理器重新加载项目时,出现错误:

The method or operation is not implemented

知道是什么原因造成的吗?

有点神秘的错误消息 - 阻止项目加载的实际问题是:

在项目的 csproj 文件部分,我有

<UseIIS>true</UseIIS>

并且 IISUrl 指向尚未在 IIS 上设置的本地站点,例如

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

没有网站绑定到 localhost:12321