corert icon indicating copy to clipboard operation
corert copied to clipboard

Use System.CommandLine for ilc.exe command line parsing

Open jkotas opened this issue 10 years ago • 5 comments

https://github.com/dotnet/corefxlab/tree/master/src/System.CommandLine, CLI repo has number of examples

jkotas avatar Dec 27 '15 07:12 jkotas

@jkotas @gkhanna79 I switched to System.CommandLine for mcg and if you want i can change ilc too.For mcg i included the source files directly , is there a nuget feed for corefxlab i can use that.

tijoytom-zz avatar Feb 10 '16 21:02 tijoytom-zz

I have it done this last night, so skip ILC please.

schellap avatar Feb 10 '16 21:02 schellap

.For mcg i included the source files directly

We should use nuget package for System.CommandLine. I spoke @schellap today who is doing similar work for ILC and can point you to the package to consume.

gkhanna79 avatar Feb 10 '16 21:02 gkhanna79

https://dotnet.myget.org/gallery/dotnet-corefxlab

The WIP diff is in schellap/corert/syscmd which uses it from the myget feed. I had to make it work for both desktop project and dnxcore50 project so I am using a slightly older version of the System.CommandLine.

schellap avatar Feb 10 '16 21:02 schellap

Fixed by https://github.com/dotnet/corert/pull/859

jkotas avatar Feb 18 '16 01:02 jkotas