System.InvalidOperationException: 'No service for type 'Microsoft.AspNetCore.Hosting.Server.IServer' has been registered.' #176
Unanswered
Smilefounder
asked this question in
Q&A
Replies: 3 comments
-
This occurs because you have no web server registered in Program.cs. You have to have at least Kestrel or WebListener. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, let me try again and let you know the result. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Cool, feel free to reopen this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Which project template is the issue about?
ASP.Net Core MVC
...
Which version of the project template is the issue about?
6.0.0.226
...
Which version of Visual Studio or the dotnet SDK were you using?
VS 2017 & dotnet 1.0.4
...
Beta Was this translation helpful? Give feedback.
All reactions