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

Add default platform option to runsettings #3770

Merged
merged 4 commits into from
Jun 16, 2022

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Jun 16, 2022

Description

Add default platform option that determines the platform to use for AnyCPU sources, without forcing it at sources that are built for specific platform.

This is equivalent of this dropdown in VS:

image

Not setting DefaultPlatform is equivalent to the Auto option. Which is fallback to the platform of the current process. E.g. x64 for x64 VisualStudio, or arm64 for arm64 VisualStudio.

The difference between TargetPlatform and DefaultPlatform, is that TargetPlatform will force the platform on all sources, and the ones that don't match will be skipped or will fail with error.

@MarcoRossignoli MarcoRossignoli enabled auto-merge (squash) June 16, 2022 18:10
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.

3 participants