Life is Too Short to Parse Command Line Parameters
System.Shell.CommandLine lives in the System.Core.dll assembly
...
it was mistakenly public in the CTP — This was based on an intern project from a couple of years back that was mistakenly public in the .NET Framework 4.0 CTP.
...
We’re actually not planning to include this in .NET 4;
Еще есть:
NDesk.Options —
http://www.ndesk.org/Options
It is implemented as a single C# source file (1,112 lines of code)
http://www.go-mono.com/docs/index.aspx?tlink=0@N%3aMono.Options
NConsoler —
http://nconsoler.csharpus.com/
Mono.GetOptions —
https://github.com/mono/mono/tree/master/mcs/class/Mono.Options/
WPF TestApi library —
http://blogs.msdn.com/b/ivo_manolov/archive/2008/12/17/9230331.aspx
csharpoptparse —
http://sourceforge.net/projects/csharpoptparse/
GNU Getopt .NET —
http://getopt.codeplex.com/
Что использовать-то?
Здравствуйте, Arsen.Shnurkov, Вы писали:
AS>Life is Too Short to Parse Command Line Parameters
AS>Что использовать-то?
Нормального не нашел. Все — наколенные поделки, заточенные под user case авторов. Нам надо было разбор aaa.exe /dir "C:\in" "C:\out" — лажали ВСЕ.