Skip to content

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.

@nohwnd nohwnd requested a review from MarcoRossignoli as a code owner June 16, 2022 13:27
@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