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
The Debug Profiles will be unter Asp
Project->Properties->launchSettings.json
(Open)
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
v