So I've removed all entries about it from my launchsettings. Yet when I start my project in Visual Studio I can see the following with git diff
},
"applicationUrl": "http://0.0.0.0:5001",
"useSSL": false
+ },
+ "IIS Express": {
+ "commandName": "IISExpress",
+ "launchBrowser": true,
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Development"
+ }
+ }
+ },
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:53839/",
+ "sslPort": 44389
}
}
}
I can remove it, but it will reappear whenever I restart VS.
It started a couple of weeks ago, seemingly out of the blue (without me updating anything). I am now on the latest version and it's still a problem. Can't find anything about it either. Mostly just how to prevent the launchsettings from being created, not modified
Okay holy shit so I just figured this out!
So when launching multiple projects there's this new setting called "Debug Target" seen here:
The two first in that list is the project itself, and IIS Express. Since it's blank it seems to default to starting IIS Express, and when I remove the entries from my launchsettings I can start it without. But if I set the "Debug Target" to my project, it never adds IIS Express!
I think I never noticed it because I've only really opened that menu like once before "Debug Target" was a thing!