Reputation: 21
When trying to run .net core project in visual studio 2019 using IIS Express the following message appears
"The ASP.NET core module is required to host ASP.NET core project and does not appear to be installed. Try repairing Visual studio to correct the problem "
Could somebody help to resolve it?
Upvotes: 2
Views: 11365
Reputation: 12167
Have you installed the Hosting Bundle for Asp Core? The error message is talking about the "IIS Asp Core Module", which is required to run core aps on IIS.
Navigate to any of the versions here https://dotnet.microsoft.com/download/dotnet, then search for "Hosting Bundle".
Upvotes: 0
Reputation: 1
I have encountered the same problem. Go to Asp.net and web development in installation details bracket Windows Communication Foundation and Modify
Upvotes: 0
Reputation: 23
My solution was:
ASP.NET and web development
Everything works fine after changing this.
Upvotes: 1
Reputation: 127
Have you tried running repair from the Visual Studio Installer?
Also, make sure you have the ASP.NET and web development
installed.
Visual Studio Installer->Visual Studio->Modify
Upvotes: 5