-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tools: Honor launchSettings.json #8695
Comments
@danroth27 @DamianEdwards @Eilon @divega It would be great to have |
@divega to file an issue on CLI side. |
We need a reusable component that dotnet run, VS and us can use. |
@mlorbetske is now tracking this in his list. Clearing up fields to decide what to do with this issue. |
See also #22190--we should do this at the same time. |
would love to be able to pass in the profile in launchSettings that has the environment variables rather than setting them in the terminal myself. |
Hi, is any estimates when it'll be fixed? |
Just found out that this tip allows firing any Hope it helps |
The CLI added support for
launchSettings.json
in dotnet/cli#6617. Unfortunately, it only works withdotnet run
and thus doesn't light up in our tooling.If we want to honor
launchSettings.json
(particularly environment variables and command line arguments) in our tools, we'll have to look for and parse the file ourselves.If we do this, we should also remove our existing logic that defaults the ASPNETCORE_ENVIRONMENT variable to Development.
The text was updated successfully, but these errors were encountered: