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

corerun supports user defined properties from command line. #51774

Conversation

AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Apr 24, 2021

This change adds support to corerun for passing configuration properties on the command line that will be used during runtime initialization. The official product consumes these through the *.runtimeconfig.json file.

Example usage: corerun.exe -p System.GC.Concurrent=true -p System.GC.LOHThreshold=100 Test.dll arg1 arg2

Contributes to #51265.

/cc @LakshanF

@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 6.0.0 milestone Apr 24, 2021
@ghost
Copy link

ghost commented Apr 24, 2021

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details

This change adds support to corerun for passing configuration properties on the command line that will be used during runtime initialization. The official product consumes these through the *.runtimeconfig.json file.

Contributes to #51265.

/cc @LakshanF

Author: AaronRobinsonMSFT
Assignees: -
Labels:

area-Host

Milestone: 6.0.0

Update help output in corerun.
@AaronRobinsonMSFT AaronRobinsonMSFT added the documentation Documentation bug or enhancement, does not impact product or test code label Apr 24, 2021
@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 66abf41 into dotnet:main Apr 27, 2021
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the corerun_user_defined_properties branch April 27, 2021 03:46
@ghost ghost locked as resolved and limited conversation to collaborators May 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Host documentation Documentation bug or enhancement, does not impact product or test code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants