command-line-api
command-line-api copied to clipboard
System.CommandLine.DragonFruit AOT Running Fail
Unhandled exception. System.InvalidProgramException: Could not find a static entry point 'Main' that accepts option parameters. at Test2!<BaseAddress>+0x21477 at Test2!<BaseAddress>+0x227ae --- End of stack trace from previous location --- at Test2!<BaseAddress>+0x1916f0 at Test2!<BaseAddress>+0x1939e7 at Test2!<BaseAddress>+0x193913 at Test2!<BaseAddress>+0x2a5430 --- End of stack trace from previous location --- at Test2!<BaseAddress>+0x1916f0 at Test2!<BaseAddress>+0x1939e7 at Test2!<BaseAddress>+0x193913 at Test2!<BaseAddress>+0x2a53c8 at Test2!<BaseAddress>+0x375c9a
I got a slightly different stack trace
Unhandled exception. System.InvalidProgramException: Could not find a static entry point 'Main' that accepts option parameters.
at System.CommandLine.DragonFruit.EntryPointDiscoverer.FindStaticEntryMethod(Assembly, String )
at System.CommandLine.DragonFruit.CommandLine.ExecuteAssemblyAsync(Assembly, String[], String, String , IConsole )
at AutoGeneratedProgram.Main(String[]) in G:\Tests\CommandLineDragonFruit\obj\Release\net8.0\win-x64\Main.Program.g.cs:line 10
at AutoGeneratedProgram.<Main>(String[])