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

Need ability to specify which MSBuild platform to use. #522

Closed
marcosnz opened this issue Nov 14, 2015 · 0 comments
Closed

Need ability to specify which MSBuild platform to use. #522

marcosnz opened this issue Nov 14, 2015 · 0 comments
Milestone

Comments

@marcosnz
Copy link
Contributor

For ny build scenario I have to build an "Any CPU" target on a.64bit server using the x86 version of MSBuild.
Currently cake uses the build target to determine which MSBuild version to use. In my case it chooses 64bit because the target is"Any CPU" and running on 64 bit.
Need to be able to specify x86 MSBuild in this case.

Suggested solution:
Add an MSBuildTarget property to MSBuildSettings (similar to PlatformTarget) which has three values: Auto (use default/current logic), x86 and x64. This would be passed to the MSBuildResolver.
A SetMSBuildTarget extension method will be added to MSBuildSettingsExtensions to enable fluent api.

marcosnz added a commit to marcosnz/cake that referenced this issue Nov 15, 2015
marcosnz added a commit to marcosnz/cake that referenced this issue Nov 16, 2015
marcosnz added a commit to marcosnz/cake that referenced this issue Nov 18, 2015
marcosnz added a commit to marcosnz/cake that referenced this issue Nov 18, 2015
marcosnz added a commit to marcosnz/cake that referenced this issue Nov 18, 2015
marcosnz added a commit to marcosnz/cake that referenced this issue Nov 18, 2015
@gep13 gep13 added this to the v0.6.1 milestone Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants