Fixed argument parsing issues with resources

This commit is contained in:
David Fowler 2015-11-07 01:52:59 -08:00
parent d244b07dc5
commit 8ebc1bf9f5
2 changed files with 8 additions and 9 deletions

View file

@ -38,7 +38,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc
syntax.DefineOption("out", ref outputName, "Name of the output assembly");
syntax.DefineOptionList("r|reference", ref references, "Path to a compiler metadata reference");
syntax.DefineOptionList("reference", ref references, "Path to a compiler metadata reference");
syntax.DefineOptionList("resource", ref resources, "Resources to embed");
@ -95,7 +95,6 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc
? "-debug:full"
: "-debug:portable");
// TODO: Move mono args to mcs compiler
args.Add("-nowarn:CS1701");
args.Add("-nowarn:CS1702");
args.Add("-nowarn:CS1705");