Skip to content

TypeLoadException: Could not load type 'Spectre.Console.ConsoleExtensions' #7

@ricardoboss

Description

@ricardoboss

I get this exception when I try to log something:

System.TypeLoadException: Could not load type 'Spectre.Console.ConsoleExtensions' from assembly 'Spectre.Console, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at Spectre.Console.Extensions.Logging.SpectreConsoleLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|12_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions