commandline icon indicating copy to clipboard operation
commandline copied to clipboard

Cannot find ParseArguments<T1,T2> method

Open dazinator opened this issue 7 years ago • 1 comments

I am using:

#region Assembly commandline, Version=2.0.275.0, Culture=neutral, PublicKeyToken=de6f01bd326f8c32 // C:\Users\Darrell.nuget\packages\commandlineparser\2.1.1-beta\lib\netstandard1.5\CommandLine.dll #endregion

This won't compile:


 var parsed = CommandLine.Parser.Default.ParseArguments<BuildOptions, DeployOptions, InstallTargetsToVSProjectFileOptions>(args);

There is no such overload that takes multiple types.. What am I doing wrong?

dazinator avatar Jan 08 '17 20:01 dazinator

The multiple types are extension methods. You need to import the CommandLine namespace to use them.

nemec avatar Jan 10 '17 04:01 nemec