Skip to content

Account for new boolean when generating runtimeconfig.dev.json #17491

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

Merged

Conversation

benvillalobos
Copy link
Member

Fixes #17388

Context

In #17014, we introduced a new property, GenerateRuntimeConfigDevFile. It's a boolean that determines whether to generate *.runtimeconfig.dev.json. The task needs to be updated to account for it.

Changes Made

The GenerateRuntimeConfigurationFiles task is updated to also consider the GenerateRuntimeConfigDevFile property before throwing a warning.

@ghost
Copy link

ghost commented May 6, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

Copy link
Member

@vitek-karas vitek-karas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benvillalobos benvillalobos merged commit 9f45c8c into dotnet:main May 11, 2021
@benvillalobos benvillalobos deleted the fix-runtimeconfigdevfile-warning branch May 11, 2021 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected Warning on Dotnet Run
2 participants