Why I can't access to RunCommandLineApplicationAsync?

Viewed 284

I'm trying to build CLI. I took an example here

And in Program class author use return await builder.RunCommandLineApplicationAsync<TestCmd>(args);

Like a start point of program, but when i'm trying to do the same i have an error: enter image description here

How can I solve this issue?

1 Answers

I figured out why, because i thougth that it's from Microsoft.Hosting, but i need to intall this package: McMaster.Extensions.Hosting.CommandLine. Close please this topic

Related