Muhammad Ali
Muhammad Ali

Reputation: 21

Can't run IIS Express in visual studio 2019

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

Answers (4)

Arvin Yorro
Arvin Yorro

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.

enter image description here

Navigate to any of the versions here https://dotnet.microsoft.com/download/dotnet, then search for "Hosting Bundle".

Upvotes: 0

nouha
nouha

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

Rafael Sequeira
Rafael Sequeira

Reputation: 23

My solution was:

  • Modify the VS Instalation and add the ASP.NET and web development
  • Delete the .vb (hidden folder) into my project directory

Everything works fine after changing this.

Upvotes: 1

Sandy
Sandy

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
enter image description here

Upvotes: 5

Related Questions