Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Fehler beim Starten des Debug Asp Core Projekts

04.11.2021 (👁370)


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