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

Expose MsBuild Configuration and Platform setting #858

Conversation

nanoant
Copy link

@nanoant nanoant commented May 15, 2017

This allows choosing other (than default) MsBuild configuration, e.g.
MsBuild:Configuration=Release MsBuild:Platform=x64, especially usable
for projects that are not using default (AnyCPU) platforms.

This relates to #202.

P.S. Do we need to add some tests on that one? Or is there any other particular way to override Configuration/Platform planned?

This allows choosing other (than default) MsBuild configuration, e.g.
MsBuild:Configuration=Release MsBuild:Platform=x64, especially usable
for projects that are not using default (AnyCPU) platforms.

This relates to OmniSharp#202.
@DustinCampbell
Copy link
Contributor

Do we need to add some tests on that one? Or is there any other particular way to override Configuration/Platform planned?

We don't have great test infrastructure for this yet. It's pretty close, but would require a bit of refactoring to pass in custom options when creating an OmniSharpTestHost.

Eventually, I hope we can add an endpoint to support changing Configuration, Platform, and also TargetFramework.

@DustinCampbell DustinCampbell merged commit 984249b into OmniSharp:dev May 15, 2017
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