Skip to content

Create msbuild workspace with Release Configuration by default#1356

Merged
qinezh merged 1 commit intodotnet:devfrom
qinezh:metadata
Feb 27, 2017
Merged

Create msbuild workspace with Release Configuration by default#1356
qinezh merged 1 commit intodotnet:devfrom
qinezh:metadata

Conversation

@qinezh
Copy link
Copy Markdown
Contributor

@qinezh qinezh commented Feb 27, 2017

No description provided.

@hellosnow
Copy link
Copy Markdown
Contributor

:shipit:

private readonly Lazy<MSBuildWorkspace> _workspace = new Lazy<MSBuildWorkspace>(() => MSBuildWorkspace.Create());
private readonly Lazy<MSBuildWorkspace> _workspace = new Lazy<MSBuildWorkspace>(() => MSBuildWorkspace.Create(new Dictionary<string, string>
{
{ "Configuration", "Release" }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

provide a MetadataCommandOption to change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I agree with it. The aim of this PR is only to change the default behavior, and I'll provide metadata option in another PR if users need it.

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.

5 participants