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

GH-2314: Allow setting MSBuild Platform using custom string #3221

Conversation

augustoproiete
Copy link
Member

Related discussion: SetPlatform for the new Arm7

The MSBuildSettings extension SetPlatformTarget expects a valid value from the PlatformTarget enumeration.

This PR adds an overload which accepts a custom string.

The current workaround without this PR is to either use .WithProperty("Platform", "...") instead of SetPlatformTarget, or use ArgumentCustomization

-    .SetPlatformTarget(BuildParameters.Platform)
+    .WithProperty("Platform", "Custom")

Closes #2314

@augustoproiete augustoproiete force-pushed the allow-msbuild-platform-custom-string branch from 6b24caf to 351f49d Compare March 4, 2021 21:22
@augustoproiete augustoproiete merged commit 1e62df2 into cake-build:develop Mar 5, 2021
@augustoproiete augustoproiete deleted the allow-msbuild-platform-custom-string branch March 5, 2021 22:40
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.

There's no way to set platform like Debug|iPhone
2 participants