CodeDocu.com

 

Error message:

The project doesn't know how to run the profile

 

Solution:

Select in the new Debug Profile a real Value like IIS Express, IIS or Project

 

Microsoft Visual Studio: when try to debug on ASP Core, Asp.Net on local IIS Server

Error starting des Debug Asp Core Projects

 

 

The Debug Profiles will be unter Asp Project->Properties->launchSettings.json (Open)

Error starting des Debug Asp Core Projects

 

 

New Profile

    "newTest": {

      "commandName": "IISExpress",

      "launchBrowser": true,

      "environmentVariables": {

        "ASPNETCORE_ENVIRONMENT": "Development"

      },

      "applicationUrl": "http://localhost:51199/"

    }

 

 

 

launchSettings.json

for local debugging with a local IIS Server

{

  "iisSettings": {

    "windowsAuthentication": false,

    "anonymousAuthentication": true,

    "iisExpress": {

      "applicationUrl": "http://localhost:51198/",

      "sslPort": 44390

    }

  },

  "profiles": {

    "IIS Express": {

      "commandName": "IISExpress",

      "launchBrowser": true,

      "launchUrl": "https://localhost:44390/",

      "environmentVariables": {

        "ASPNETCORE_ENVIRONMENT": "Development"

      }

    },

    "Readdy": {

      "commandName": "Project",

      "launchBrowser": true,

      "environmentVariables": {

        "ASPNETCORE_ENVIRONMENT": "Development"

      },

      "applicationUrl": "http://localhost:51199/"

    },

    "newTest": {

      "commandName": "IISExpress",

      "launchBrowser": true,

      "environmentVariables": {

        "ASPNETCORE_ENVIRONMENT": "Development"

      },

      "applicationUrl": "http://localhost:51199/"

    }

  }

}

 

Solution:

Or select the right: Launch: Dropdown Setting->IIS Express

Error starting des Debug Asp Core Projects

v

 

 


Software Entwicklung Stuttgart Nürtingen
Suche Projekte C#, WPF, Windows App,ASP.Net, vb.Net, WinForms, SQL Server, Access, Excel