code review feedback and clean-up

This commit is contained in:
Andrew Stanton-Nurse 2015-10-07 14:39:36 -07:00
parent 78858b0edb
commit 6395ffbff5
9 changed files with 73 additions and 63 deletions

View file

@ -1,7 +1,6 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Dnx.Runtime.Common.CommandLine;
using Microsoft.DotNet.Cli.Utils;
@ -110,10 +109,10 @@ namespace Microsoft.DotNet.Tools.Compiler
// Build csc args
var cscArgs = new[]
{
"/nostdlib",
$"/out:{Path.Combine(outputPath, projectDir.Name + ".dll")}"
"-nostdlib",
$"-out:{Path.Combine(outputPath, projectDir.Name + ".dll")}"
}
.Concat(references.Select(r => $"/r:{r}"))
.Concat(references.Select(r => $"-r:{r}"))
.Concat(sources);
var rsp = Path.Combine(outputPath, "csc.rsp");
if(File.Exists(rsp))