Is launchsettings.json in a dotnet core project used in production?

The launchSettings.json file is only used by Visual Studio during debugging and when running the app via dotnet run command.

See the quote from the official documentation:

The launchSettings.json file:

  • Is only used on the local development machine.
  • Is not deployed.
  • contains profile settings.

So for everyone who is looking for the short confirmed answer:

No, it’s not used in production.

Leave a Comment