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
When using Attribute API, private method OnExecute will be removed by compiler (publish)
Unhandledexception. System.InvalidOperationException: No method named 'OnExecute' or 'OnExecuteAsync' could be found.
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext,CancellationToken)
at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext()--- End of stack trace from previous location ---
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[],CancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](CommandLineContext,CancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](CommandLineContext)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](IConsole, String[])
at Program.Main(String[])
Aborted
How to avoid it?
The text was updated successfully, but these errors were encountered:
When using Attribute API, private method OnExecute will be removed by compiler (publish)
How to avoid it?
The text was updated successfully, but these errors were encountered: