commandline
commandline copied to clipboard
Cannot find ParseArguments<T1,T2> method
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?
The multiple types are extension methods. You need to import the CommandLine
namespace to use them.