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 Configuration and Platform command-line arguments #103

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

jeffkl
Copy link
Collaborator

@jeffkl jeffkl commented Feb 24, 2020

Allows users to specify which configuration and platforms will be available at the solution level. Projects are still read and the best mapping available is made.

Fixes #99

Allows users to specify which configuration and platforms will be available at the solution level.  Projects are still read and the best mapping available is made.
@jeffkl jeffkl force-pushed the configuration-platform-argument branch from 1357a65 to 7fe877f Compare February 24, 2020 18:19
@jeffkl jeffkl merged commit 9911361 into microsoft:master Feb 24, 2020
@jeffkl jeffkl deleted the configuration-platform-argument branch February 24, 2020 18:24
@jdom
Copy link
Member

jdom commented Apr 4, 2022

Can this be configured when running with MSBuild also?

@jeffkl
Copy link
Collaborator Author

jeffkl commented Apr 7, 2022

@jdom I haven't tested it but global properties might work:

msbuild /Target:SlnGen /Property:Platform=x64 /Property:Configuration=Release

@jdom
Copy link
Member

jdom commented Apr 7, 2022

that didn't work, but I was able to make it work be setting the Platforms and Configurations properties (notice the plural), and have them list the supported platforms and configurations per project (I actually did this for all, as they were the same for all, using Directory.Build.props).
Thanks for the reply

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.

Add option to specify solution platforms and configurations
2 participants