Closed bertt closed 10 months ago
found a workaround adding
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(Options))]
static void Main(string[] args)
https://github.com/commandlineparser/commandline/pull/913 NativeAoT in This PR work fine. And smaller exe size.
Hi, I'm trying to use this library with AOT (PublishAot = true) in .NET 8, but got the following warnings on publish (CommandLineParser 2.9.1):
And when running I see:
Type options:
Question: Is publishing with AOT supported?