JasperFx / oakton

Parsing and Utilities for Command Line Tools in .Net
http://jasperfx.github.io/oakton
Apache License 2.0
308 stars 41 forks source link

Issue with resources check #78

Closed jeremydmiller closed 1 year ago

jeremydmiller commented 1 year ago

See https://github.com/JasperFx/wolverine/issues/173 for details.

$ dotnet run --project src/Web/Web.csproj --launch-profile Web -- resources check Building... Searching 'JasperFx.CodeGeneration.Commands, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' for commands Searching 'Weasel.CommandLine, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null' for commands Searching 'Marten.CommandLine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' for commands Searching 'Wolverine, Version=0.9.8.0, Culture=neutral, PublicKeyToken=null' for commands

No Wolverine extensions are detected

[red]ERROR:[/]System.Security.VerificationException: Method Spectre.Console.AlignableExtensions.LeftAligned: type argument 'Spectre.Console.FigletText' violates the constraint of type parameter 'T'. at async Task Oakton.Resources.ResourcesCommand.Execute(ResourceInput input) at void System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start(ref TStateMachine stateMachine) at Task Oakton.Resources.ResourcesCommand.Execute(ResourceInput input) at Task Oakton.OaktonAsyncCommand`1.Oakton.IOaktonCommand.Execute(object input) at Task Oakton.CommandRun.Execute() at async Task Oakton.CommandExecutor.execute(CommandRun run)