You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
当一个 Options 类里没有任何属性标记了 Option 或者 Value 的情况下,会抛出异常,期待不要抛出此异常,而是更能指导如何编写代码的异常。
类型 MainTask 中没有发现任何可以作为命令行参数的可见属性。
at dotnetCampus.Cli.Parsers.RuntimeCommandLineOptionParser`1.Create() in C:\Users\lvyi\.nuget\packages\dotnetcampus.commandline.source\1.0.0\src\Parsers\RuntimeCommandLineOptionParser.cs:line 44
at dotnetCampus.Cli.Utils.CommandLineHelpers.FindParser[T]() in C:\Users\lvyi\.nuget\packages\dotnetcampus.commandline.source\1.0.0\src\Utils\CommandLineHelpers.cs:line 35
at dotnetCampus.Cli.Utils.CommandLineHelpers.MatchAndHandle[TVerb](CommandLine commandLine, String possibleVerb, Func`2 handler, ICommandLineOptionParser`1 parser) in C:\Users\lvyi\.nuget\packages\dotnetcampus.commandline.source\1.0.0\src\Utils\CommandLineHelpers.cs:line 128
at dotnetCampus.Cli.CommandLineHandlerBuilder.<>c__DisplayClass3_0`1.<AddHandler>b__0(String verb) in C:\Users\lvyi\.nuget\packages\dotnetcampus.commandline.source\1.0.0\src\CommandLineHandlerBuilder.cs:line 43
at dotnetCampus.Cli.StateMachine.HandleVerbStateMachine`1.<Run>d__3.MoveNext() in C:\Users\lvyi\.nuget\packages\dotnetcampus.commandline.source\1.0.0\src\StateMachine\HandleVerbStateMachine.cs:line 63
at dotnetCampus.Cli.CommandLineAsyncHandlerBuilder.RunAsync() in C:\Users\lvyi\.nuget\packages\dotnetcampus.commandline.source\1.0.0\src\CommandLineHandlerBuilder.cs:line 221
The text was updated successfully, but these errors were encountered:
当一个
Options
类里没有任何属性标记了Option
或者Value
的情况下,会抛出异常,期待不要抛出此异常,而是更能指导如何编写代码的异常。The text was updated successfully, but these errors were encountered: