Skip to content

Running 3.0.0-beta2 throws exception because it's missing a logger #420

@GeertvanHorrik

Description

@GeertvanHorrik

this issue comes via Gitter

User says it comes from Chocolatey. This stacktrace:

C:\Projects\aasdasd [release/3.1.5 +0 ~1 -1]> gitversion /showConfig

Unhandled Exception: System.Exception: Logger not defined.
   at GitVersion.Logger.<Reset>b__2(String s) in c:\BuildAgent\work\5106452ed7682238\GitVersionCore\Logger.cs:line 20
   at GitVersion.Program.VerifyArgumentsAndRun() in c:\BuildAgent\work\5106452ed7682238\GitVersionExe\Program.cs:line 89
   at GitVersion.Program.Main() in c:\BuildAgent\work\5106452ed7682238\GitVersionExe\Program.cs:line 17

This leads to this file:

https://github.com/ParticularLabs/GitVersion/blob/a4b40aaec5a7bc1f9bb668fed5c4879dc36f8099/GitVersionCore/Logger.cs#L18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions