kevingadd/JSIL — Issue #42: How to specify --nodeps in new configuration system
Author: matra774
Created: 2011-12-03 22:06:03+00:00
State: open

I am having troubles finding out how to correctlay specify --nodeps and other options. I was unable to correctly pass them on command line (see bellow) or provide correct: defaults.jsilconfig

jsilc JSIL\TestHelloWorld\bin\Debug\TestHelloWorld.exe --nodeps

Unhandled Exception: Mono.Options.OptionException: Could not convert string `nodeps' to type Boolean for option `--nodeps'. ---> System.FormatException: nodeps is not a valid value for Boolean. ---> System.FormatException: String was not recognized as a valid Boolean.
at System.Boolean.Parse(String value)
at System.ComponentModel.BooleanConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
--- End of inner exception stack trace ---
at System.ComponentModel.BooleanConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.ComponentModel.TypeConverter.ConvertFromString(String text)
at Mono.Options.Option.Parse[T](String value, OptionContext c) in JSIL\Upstream\Options.cs:line 449
--- End of inner exception stack trace ---
at Mono.Options.Option.Parse[T](String value, OptionContext c) in JSIL\Upstream\Options.cs:line 452
at Mono.Options.OptionSet.ActionOption`1.OnParseComplete(OptionContext c) in JSIL\Upstream\Options.cs:line 864
at Mono.Options.Option.Invoke(OptionContext c) in JSIL\Upstream\Options.cs:line 541
at Mono.Options.OptionSet.Parse(String argument, OptionContext c) in JSIL\Upstream\Options.cs:line 1047
at Mono.Options.OptionSet.Parse(IEnumerable`1 arguments) in JSIL\Upstream\Options.cs:line 942
at JSIL.Compiler.Program.ParseCommandLine(IEnumerable`1 arguments, List`1 buildGroups) in JSIL\Compiler\Program.cs:line 119
at JSIL.Compiler.Program.Main(String[] arguments) in JSIL\Compiler\Program.cs:line 232

Any help would be appreciated.

matra774