Skip to content

Creating a Release configuration manifest #1189

Discussion options

You must be logged in to vote

The concept of build configurations and environments (development, production) are independent and not tied together directly. The dotnet run command will select the first launch profile from the launchSettings.json and honor whatever environment variables are configured in there, which by default includes setting the environment to "Development". dotnet run also defaults to using the Debug build configuration. dotnet msbuild doesn't use launch profiles so the default environment of "Production" will be used.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@peteraritchie
Comment options

@DamianEdwards
Comment options

Answer selected by peteraritchie
@peteraritchie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants