VisualStudioでデバッグしようとしたら表題のエラーが発生しました。
解決方法をしては「プログラムと機能」からインターネットインフォメーションサービス(IIS)をオンにしていきます。

プログラムと機能
プログラムと機能を開き、Windowsの機能の有効化または無効化をクリックします。

IISを有効化する。
下記にチェックしてOKをクリックする。

以上です。
参考

Development time IIS support for ASP.NET Core Applications - .NET Blog
With a recent update to Visual Studio 2017, we have added support for debugging ASP.NET Core applications against IIS. This blog post will walk you through enab...
コメント