GitVersion 5+ not working on Visual Studio 2019 build

ben's Avatar

ben

14 Aug, 2019 12:49 AM

I'm not sure if this is really an AppVeyor thing but I wanted to report it anyway just in case it helps. Recently my VS2019 build images started failing and I realised today that it's related to the recent version of GitVersion that have been released since July 30th (at the time of writing this v5.0.0 and v5.0.1).

I know get the following error:

System.Configuration.ConfigurationErrorsException: Unrecognized configuration section dllmap. (C:\ProgramData\chocolatey\lib\GitVersion.Portable\tools\GitVersion.exe.Config line 6)

To fix this I simply updated my yaml file to ensure that v4.0.0 is always used:

choco install gitversion.portable --version 4.0.0

And this appears to have soled the issue.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac