Skip to content
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

Fix issue where RuntimeConfiguration defaults are not used #1530

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

manodasanW
Copy link
Member

In certain scenarios, the runtime configuration file may not be there. When this happens, the defaults we set in msbuild do not take effect and we can end up defaulting to false. This means all switches are disabled and can cause issues like custom type mappings not being enabled. This addresses it by making the defaults in code so we can default to the correct value.

Copy link
Member

@Sergio0694 Sergio0694 left a comment

Choose a reason for hiding this comment

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

LGTM! The linker will replace the whole method body so this is fine with that too!

@manodasanW manodasanW merged commit f01c016 into staging/AOT Mar 11, 2024
10 checks passed
@manodasanW manodasanW deleted the manodasanw/customTypeMappingDefaultFix branch March 11, 2024 02:19
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.

2 participants