asp.net-corerider

Project Rider doesn't read launchSettings.json


I am using Project Rider 2017.3 to build Asp.Net core 2.x project. When I run project in visual studio 2017 it gets environment variables from launchSettings.json but Project Rider doesn't load variables from same file. I have to go to edit configurations and add environment variables manually.

Is there anyway to force Rider to read variables from launchSettings.json ?


Solution

  • Support for launchSettings.json has been added in 2018.3.

    More info on how it works is available at https://blog.jetbrains.com/dotnet/2018/11/08/using-net-core-launchsettings-json-rundebug-apps-rider/