Base solution for your next web application
Open Closed

Are the launchsettings.json files expected to be updated prior to build (API)? #8281


User avatar
0
smry created

I have not come across documentation saying to updating those files but I'm running into other issues and I wanted to ask if launchsettings.json files should be updated prior to build - or does routing and variable updating happen off of the appsettings.Production.json


1 Answer(s)
  • User Avatar
    1
    maliming created
    Support Team

    launchsettings.json is used during development. If you change the url or port of your application you need to change launchsettings.json in order to debug your application conveniently.

    It does not participate in the build and publish of the application.

    https://docs.microsoft.com/en-us/visualstudio/mac/launch-settings