From 2d25d1232a05e16f0e455b0d93d4f9e887db59d9 Mon Sep 17 00:00:00 2001 From: Jared Parsons Date: Wed, 2 Mar 2016 18:22:14 -0800 Subject: [PATCH] Emit isn't on the CSharpCompilationOptions --- .../ProjectJsonWorkspace.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Microsoft.DotNet.ProjectModel.Workspaces/ProjectJsonWorkspace.cs b/src/Microsoft.DotNet.ProjectModel.Workspaces/ProjectJsonWorkspace.cs index 0c226bc1c..9dbdedf8a 100644 --- a/src/Microsoft.DotNet.ProjectModel.Workspaces/ProjectJsonWorkspace.cs +++ b/src/Microsoft.DotNet.ProjectModel.Workspaces/ProjectJsonWorkspace.cs @@ -10,7 +10,6 @@ using System.Runtime.InteropServices; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; -using Microsoft.CodeAnalysis.Emit; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.Text; using Microsoft.DotNet.Cli.Compiler.Common; @@ -196,14 +195,9 @@ namespace Microsoft.DotNet.ProjectModel.Workspaces platform = Platform.AnyCpu; } - var debugType = StringComparer.OrdinalIgnoreCase.Equals(compilerOptions.DebugType, "full") - ? DebugInformationFormat.pdb - :DebugInformationFormat.Portable; - options = options .WithAllowUnsafe(allowUnsafe) .WithPlatform(platform) - .WithDebugInformationFormat(debugType) .WithGeneralDiagnosticOption(warningsAsErrors ? ReportDiagnostic.Error : ReportDiagnostic.Default) .WithOptimizationLevel(optimize ? OptimizationLevel.Release : OptimizationLevel.Debug);