I created a new .net core 2.2 project using the empty asp.net template in rider. What I want to do is ensure the port is the same each time I run. (For now so I can use the rest client to test it, but later for integration testing.)
I believe the way I'm supposed to fix this is to add an environment variable ASPNETCORE_URLS with the url.
Fine, so I click Edit Configurations, and then press the icon next to Environment Variables. It pops up and shows me ASPNETCORE_ENVIRONENT set to Development. But the little toolbar which lets me add environment variables is missing. After a bit of prodding about, I find the keyboard shortcut and add the new setting in. But when I close the dialog, the new key disappears.
I'm reasonably sure this configuration was added by Rider when I created the project, or when I chose to run it.
What I noticed is that this configuration is a ".NET Launch Settings Profile" type. If I create a new configuration using ".NET Project' then the environment variables window works fine. I'm not sure I know what the difference is.
So maybe this is the answer, but I'm sure this behaviour can't be correct can it??
I'm using 2018.3 with OSX Mojave.