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

Visual Studio aware msbuild selection #1453

Merged
merged 1 commit into from
Jan 17, 2017

Conversation

hmemcpy
Copy link
Contributor

@hmemcpy hmemcpy commented Jan 17, 2017

This adds support for the VisualStudioVersion environment variable (which is specified by VS/developer command prompt), so that a compatible msbuild version will be used.
This fixes #1452

@hmemcpy
Copy link
Contributor Author

hmemcpy commented Jan 17, 2017

Code reviews welcome :D

@"c:\Windows\Microsoft.NET\Framework\v3.5\"
]

let toDict items =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we call it toMap - since there is a dict function in FSharp.Core that actually put things in a dict

…lStudioVersion' environment variable, with fallback to the previous lookup.
@forki
Copy link
Member

forki commented Jan 17, 2017

cool. does it fall back to the old behaviour?

@hmemcpy
Copy link
Contributor Author

hmemcpy commented Jan 17, 2017

Yup, if it fails to find VisualStudioVersion it will just list all the paths, like before.

@forki
Copy link
Member

forki commented Jan 17, 2017

cool!

@forki forki merged commit 4883906 into fsprojects:master Jan 17, 2017
@hmemcpy
Copy link
Contributor Author

hmemcpy commented Jan 17, 2017

Yay! Thank you!

@forki
Copy link
Member

forki commented Jan 17, 2017

should be released. Thank you!

@hmemcpy hmemcpy deleted the VS-aware-msbuild branch January 17, 2017 17:51
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.

2 participants