Skip to content

Commit

Permalink
Create msbuild workspace with Release Configuration by default (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinezh committed Feb 27, 2017
1 parent c222c31 commit 9bcba02
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -23,7 +23,10 @@ namespace Microsoft.DocAsCode.Metadata.ManagedReference

public sealed class ExtractMetadataWorker : IDisposable
{
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" }
}));
private static readonly string[] SupportedSolutionExtensions = { ".sln" };
private static readonly string[] SupportedProjectName = { "project.json" };
private static readonly string[] SupportedProjectExtensions = { ".csproj", ".vbproj" };
Expand Down

0 comments on commit 9bcba02

Please sign in to comment.