#

Fehler beim Starten des Debug Asp Core Projectes

 

Fehlermeldung:

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

Ein Bild, das Text enthält.
Automatisch generierte Beschreibung

 

 

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

Ein Bild, das Text enthält.
Automatisch generierte Beschreibung

 

 

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

Ein Bild, das Text, Screenshot, Computer, drinnen enthält.
Automatisch generierte Beschreibung

v

 

 

Mobile

.

0123movie.net